superfish icon indicating copy to clipboard operation
superfish copied to clipboard

OnClick option rather than onHover

Open wpexplorer opened this issue 9 years ago • 3 comments

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!

wpexplorer avatar May 16 '16 19:05 wpexplorer

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

joeldbirch avatar May 16 '16 19:05 joeldbirch

Thanks for the link and response. I didn't realize it would be so complicated ;)

wpexplorer avatar May 16 '16 19:05 wpexplorer

@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.

soulreverie avatar Jul 13 '16 10:07 soulreverie