OnClick option rather than onHover
Any change in a future update you could add an option to choose between on-hover and on-click for the dropdown event?
Thank You!
Sorry, no. It used to be that way but it made things surprisingly complex to support both cross-browser in a bug-free way. The click functionality was split into a standalone Superclick plugin: https://github.com/joeldbirch/superclick
On 17 May 2016, at 5:17 AM, WPExplorer [email protected] wrote:
Any change in a future update you could add an option to choose between on-hover and on-click for the dropdown event?
Thank You!
— You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub
Thanks for the link and response. I didn't realize it would be so complicated ;)
@wpexplorer - If it helps, sometimes I use both Superclick and Superfish in projects when I need a quick responsive menu. Based on the window resize (I write my own custom function or use enquire.js). I will init/destroy Superfish (desktop) and Superclick (mobile) at the appropriate breakpoint.