File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
lib/src/controls/navigation/navigation_view Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 11## [ next]
22
3+ - fix: NavigationView transition when in top ([ #1220 ] ( https://github.com/bdlukaa/fluent_ui/pull/1220 ) )
34- feat: Added ` CalendarView ` widget ([ #1232 ] ( https://github.com/bdlukaa/fluent_ui/pull/1232 ) thanks to [ @asmitta-01 ] ( https://github.com/Asmitta-01 ) , [ #236 ] ( https://github.com/bdlukaa/fluent_ui/issues/236 ) )
45- feat: Added ` CalendarDatePicker ` ([ #236 ] ( https://github.com/bdlukaa/fluent_ui/issues/236 ) )
56- feat: Added ` WindowsIcon ` and ` WindowsIcons ` ([ #1237 ] ( https://github.com/bdlukaa/fluent_ui/pull/1237 ) )
Original file line number Diff line number Diff line change @@ -122,12 +122,12 @@ class _NavigationBodyState extends State<_NavigationBody> {
122122 if (isTop) {
123123 // Other transtitions other than default is only applied to top nav
124124 // when clicking overflow on topnav, transition is from bottom
125- // otherwise if prevItem is on left side of nextActualItem, transition is from left
126- // if prevItem is on right side of nextActualItem, transition is from right
125+ // otherwise if prevItem is on right side of nextActualItem, transition is from left
126+ // if prevItem is on left side of nextActualItem, transition is from right
127127 // click on Settings item is considered Default
128128 return HorizontalSlidePageTransition (
129129 animation: animation,
130- fromLeft: view.previousItemIndex < (view.pane? .selected ?? 0 ),
130+ fromLeft: view.previousItemIndex > (view.pane? .selected ?? 0 ),
131131 child: child,
132132 );
133133 }
You can’t perform that action at this time.
0 commit comments