Skip to content

Commit

Permalink
fix: Directionality of BreadcrumbBar flyout mode
Browse files Browse the repository at this point in the history
  • Loading branch information
bdlukaa committed Jan 30, 2025
1 parent d37470f commit 4ce2d05
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/src/controls/navigation/breadcrumb_bar.dart
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,9 @@ class BreadcrumbBarState<T> extends State<BreadcrumbBar<T>> {
flyoutController.showFlyout(
barrierColor: Colors.transparent,
autoModeConfiguration: FlyoutAutoConfiguration(
preferredMode: FlyoutPlacementMode.bottomCenter,
preferredMode: FlyoutPlacementMode.bottomCenter.resolve(
Directionality.of(context),
),
),
builder: (context) {
return MenuFlyout(
Expand Down

0 comments on commit 4ce2d05

Please sign in to comment.