Skip to content

Commit 07c4f54

Browse files
committed
feat: release v7.14.1
1 parent 951d258 commit 07c4f54

4 files changed

Lines changed: 19 additions & 2 deletions

File tree

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
## [7.14.1] - 2026-04-03
2+
3+
### Fixed
4+
5+
* **`bottomToTop` and `topToBottom` page transitions animating the previous route** - Added `canTransitionFrom` override to `PageTransition` that returns `false` for `bottomToTop` and `topToBottom` transition types, preventing the outgoing page from sliding away during modal-style transitions
6+
17
## [7.14.0] - 2026-04-02
28

39
### Added

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ import 'package:nylo_support/widgets/ny_widgets.dart';
4949

5050
```yaml
5151
dependencies:
52-
nylo_support: ^7.14.0
52+
nylo_support: ^7.14.1
5353
```
5454
5555
### Documentation

lib/router/src/page_transition/src/page_transition.dart

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,17 @@ class PageTransition<T> extends PageRouteBuilder<T> {
163163
Duration get reverseTransitionDuration =>
164164
(reverseDuration ?? duration) ?? Duration(milliseconds: 300);
165165

166+
@override
167+
bool canTransitionFrom(TransitionRoute<dynamic> previousRoute) {
168+
switch (type) {
169+
case PageTransitionType.bottomToTop:
170+
case PageTransitionType.topToBottom:
171+
return false;
172+
default:
173+
return super.canTransitionFrom(previousRoute);
174+
}
175+
}
176+
166177
@override
167178
Widget buildTransitions(
168179
BuildContext context,

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: nylo_support
22
description: Support library for the Nylo framework. This library supports routing, widgets, localization, cli, storage and more.
3-
version: 7.14.0
3+
version: 7.14.1
44
homepage: https://nylo.dev
55
repository: https://github.com/nylo-core/support/tree/7.x
66
issue_tracker: https://github.com/nylo-core/support/issues

0 commit comments

Comments
 (0)