Skip to content

Conversation

@Stuff-Stuffs
Copy link

This fixes the mouse enter event not being emitted for root components or when using the Layer api. This is caused by the check to bypass the event if the component has no root component(ie current component is the root). The fix is just to only bypass the event if there is a root. However to keep the behavior of checking if a child should receive the event instead I also had to override updateHoveredState in BaseParentComponent to add the case that the current component might be the root and have children.

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

Successfully merging this pull request may close these issues.

1 participant