react-native-web-hooks icon indicating copy to clipboard operation
react-native-web-hooks copied to clipboard

useHover and opacity

Open haveamission opened this issue 5 years ago • 1 comments

As far as I can tell, the default use case of useHover is making the hovered item semi-transparent.

Is there a way to override this?

I am creating a drowndown menu component, and I do not want any transparency when a user hovers over a dropdown menu item

haveamission avatar Apr 24 '20 22:04 haveamission

This can be fixed (perhaps in a bit hacky way) by overriding the opacity on the hovered on view element.

haveamission avatar May 18 '20 18:05 haveamission