Skip to content
This repository has been archived by the owner on Jul 24, 2019. It is now read-only.

Menu closing when scrolling on a touch device #15

Closed
ApolloMedia opened this issue Feb 13, 2015 · 3 comments
Closed

Menu closing when scrolling on a touch device #15

ApolloMedia opened this issue Feb 13, 2015 · 3 comments

Comments

@ApolloMedia
Copy link

Thanks for the great menu - its served me well.
However I noticed an issue the other day. When viewing on a touch screen device with the menu open - it closes when you scroll down the screen making any links that fall off the bottom of the screen, (that you would have to scoll down to see), inaccessible.

Any ideas?

Cheers

@ApolloMedia
Copy link
Author

I've have resolved the issue. For some strange reason, when scrolling on a touch device - the window.resize event is fired. I've added code to check that the window size has changed and only close menus if it has.

@rdebeasi
Copy link
Contributor

Thanks for the update! Would you be interested in submitting a pull request with that change so that I can add your fix to flexMenu?

@rdebeasi
Copy link
Contributor

This problem should be fixed the latest version of the plugin. If the problem reappears, just let me know!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

2 participants