Skip to content

Add delay (hover intent) to _mouseOverHandler and settings options#40

Open
leafling wants to merge 1 commit intoadobe-accessibility:masterfrom
leafling:patch-1
Open

Add delay (hover intent) to _mouseOverHandler and settings options#40
leafling wants to merge 1 commit intoadobe-accessibility:masterfrom
leafling:patch-1

Conversation

@leafling
Copy link
Copy Markdown

Changed _mouseOverHandler to add delay to check for hover intent. If the mouse is simply passing over the menu en route to other content, it won't trigger unless it hovers for a set duration. Default is set to 0 milliseconds to match previous settings.

Also made made the delay an option in the config so one can readily choose if/when a delay should happen in regard to mouse Over/Out.

Changed _mouseOverHandler to add delay to check for hover intent. If the mouse is simply passing over the menu en route to other content, it won't trigger unless it hovers for a set duration.  Default is set to 0 milliseconds to match previous settings.

Also made made the delay an option in the config so one can readily choose if/when a delay should happen in regard to mouse Over/Out.
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