Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unexpected Behavior with Long Press and Bottom Navigation Tap in AutoRoute Flutter App #2101

Open
Tukhtamurodov-Sardorbek opened this issue Nov 26, 2024 · 0 comments

Comments

@Tukhtamurodov-Sardorbek
Copy link

Tukhtamurodov-Sardorbek commented Nov 26, 2024

In my Flutter app using AutoRoute a bottom navigation bar is implemented with five sections: Home, Payment, Transfer, History, and Menu. The Home section displays banners that, when tapped, open a detailed page.

I've encountered an issue where, if a user long-presses a banner without releasing it and simultaneously taps another navigation bar item, the detail page opens on top of the intended section, leading to unexpected behavior.

I'm seeking a solution to prioritize the navigation bar action. When a user taps another navigation bar item while still holding down a banner, the app should correctly navigate to the selected section without the detail page interfering.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant