Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

leafling
Copy link

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