Open Garett-MacGowan opened 1 year ago
Thanks for reporting.
I indeed decided not to turn this off by default since it's expected on click, but I agree it would be helpful to make it more easy to turn off.
In version 3.0
you will be able to simply forward style
and className
, for now this would be simplest:
.hamburger-react { -webkit-touch-callout: … }
hello, thanks for the pkg it's great
any eta for the v3 release ? thanks !
No ETA yet! Working on it in the v3
branch whenever I can, but I've been short on time. I'll let you know when it's ready to test.
Update about v3.0: Looking for new owner
Version 2.5.0
Steps to Reproduce
When users interact with the menu on mobile devices, the burger is highlighted during the transition.
Reproduceable on the example site: https://hamburger-react.netlify.app/
Note
This may or may not be expected, but it would be nice to have the option to turn it off. I recognize most click events on mobile are associated with this behavior.
Workaround
My temporary (tested only on chrome) workaround using style jsx:
webkit, moz, ms, and user-select statements taken from this stack overflow.