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

The hitbox is strange, clicking between the icon and text gets passed to the parent #54

Open
dJani97 opened this issue Jun 14, 2024 · 0 comments

Comments

@dJani97
Copy link

dJani97 commented Jun 14, 2024

Hi!

I've noticed that if I click as shown in the image, in between the icon and text, then ReactionButton does not register it as a click, and instead, the parent element gets clicked, which in my case, triggers a different action. This was undesirable for me, so as a workaround I wrapped ReactionButton with an empty GestureDetector, which still results in some clunky user experience, but at least no navigation is happening, instead, the click just does nothing.

image

Current suspected hitbox (hard to click for the user, results in miss clicks):

image

Can you please fix this, and make it so that ReactionButton's hitbox is one big box that spans over the entire widget?

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