react-use icon indicating copy to clipboard operation
react-use copied to clipboard

useHover propagation

Open muametgrooby opened this issue 2 years ago โ€ข 3 comments

Is your feature request related to a problem? Please describe. I have a use case where I have multiple nested hoverable elements, hovering over a child element triggers the hover on the parent also.

Describe the solution you'd like An option we can pass which will cause event.stopPropagation() to be called internally

Describe alternatives you've considered It may also be a good idea to allow users to access the Event object somehow.

muametgrooby avatar Feb 22 '23 13:02 muametgrooby

Assign me this issue

omwagh28 avatar Jul 16 '24 08:07 omwagh28

Hi! I'd love to work on this as my first contribution. It seems straightforward, and with a bit of guidance I believe I can implement the optional stopPropagation prop as suggested. Let me know if I can take this on! ๐Ÿ˜Š

HimanshuKK08 avatar Apr 25 '25 20:04 HimanshuKK08

Hi! I'd like to try resolving this issueโ€”would it be okay if I take it on? ๐Ÿ˜Š

jiminseong avatar Jun 21 '25 11:06 jiminseong