wp-bootstrap / wp-bootstrap-navwalker

A custom WordPress nav walker class to fully implement the Twitter Bootstrap 4.0+ navigation style (v3-branch available for Bootstrap 3) in a custom theme using the WordPress built in menu manager.
https://wp-bootstrap.github.io/wp-bootstrap-navwalker/
GNU General Public License v3.0
3.37k stars 1.94k forks source link

Dropdown exit Animation #538

Open DLX23 opened 1 year ago

DLX23 commented 1 year ago

i have animation on hover, that works pretty good: .menu-item.dropdown:hover>.dropdown-menu{ display:block !important; } .dropdown-menu { animation: flipInX 1s ease-in-out both; }

Steps to reproduce the issue:

hover over dropdown nav

What I expected:

i want exit animation when dropdown disappear. So animation is on both hover and on hoverout

What happened instead:

it hides instantly

leecollings-sb commented 6 months ago

Generally, showing a dropdown on hover is an awful ideal (particularly when living in the world of 'mobile first').

But also, I tried applying this myself, and no animation shows for me. Just thought I'd mention.