Open ghost opened 7 years ago
All good suggestions, thanks! I'll refer to this when I refactor.
I'm more inclined to do a no-dependency version of Superfish, really. I've been waiting for browser support to improve and if Bootstrap 4 is happy enough to rely on Slim.js, which appears to only supports IE11+, then maybe the time is nigh.
@joeldbirch going jQuery free would be delightful, and a good opportunity to bake in or build upon a vanilla roll of hoverIntent. I looked around yesterday and there's a jQ-free version of HI but it does not support event delegation as an FYI.
Bootstrap 4 is targeting jQuery slim. I'm sure many would enjoy using this mighty fine plug-in on their future websites.
Refactoring considerations:
$.animate
, need to switch to CSS3 animationflex-flow: column wrap
gotcha to watch out for if flexbox is used (plus other bugs and workarounds)