[ ] π Documentation (updates to the documentation, readme or JSDoc annotations)
[x] π Bug fix (a non-breaking change that fixes an issue)
[ ] π Enhancement (improving an existing functionality like performance)
[ ] β¨ New feature (a non-breaking change that adds functionality)
[ ] π§Ή Chore (updates to the build process or auxiliary tools and libraries)
[ ] β οΈ Breaking change (fix or feature that would cause existing functionality to change)
π Description
Resolves #191
As we are using the 'mouseout' event to detect whether a motion should leave the hovered state it would also get triggered when hovering a child element.
From what I can tell the 'mouseleave' event should be sufficient for this, are there possible use cases for using 'mouseout'?
I'm not quite sure if the test I added will be stable (not flaky) as it uses timeouts to check if the variant/state remains unchanged, this may need to be improved.
π Linked issue
191
β Type of change
π Description
Resolves #191
As we are using the
'mouseout'
event to detect whether a motion should leave the hovered state it would also get triggered when hovering a child element.From what I can tell the
'mouseleave'
event should be sufficient for this, are there possible use cases for using'mouseout'
?I'm not quite sure if the test I added will be stable (not flaky) as it uses timeouts to check if the variant/state remains unchanged, this may need to be improved.
π Checklist