-
-
Notifications
You must be signed in to change notification settings - Fork 114
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
Touch size of icon is too small #5
Comments
I've maximized the touch area of the icons by wrapping them in a Flexible widget: https://github.com/nohli/google_nav_bar/commit/fa47ff658f85565c063e1801b3198a3bdc41caa4 You could try it by adding this to your pubspec.yaml:
Right now, it's not perfect - it collapses for a short moment when changing tabs, but it looks okay, when setting something like:
(because of this I also removed the variable clickable, which blocked another tab switching for the full animation duration) |
@nohli wow interesting,I'll try it out |
hi @nohli it just changed the behaviour of the animation, which doesn't match with the original one; the button must stick infront |
@sooxt98 try wrapping the GButton/gButton with The red painting also reflects the touchable area. |
same issue on v5.0.6 |
I think the touch area for icon is small. Only when you precisely touch icon then only it receives touch. Can we have something with which we can increase. touch area for icons? Its little inconvinient to change tabs
The text was updated successfully, but these errors were encountered: