You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is more like feature request. As a BS5 user I'm used to use their events show, shown, hide, hidden which is perfect in some cases. show - fires immediately shown - fires after show animation ends hide - fires immediately hidden - when the hide event ends
The last two are a good way to get proper fade-out to work as we can animate on hide and display: none; on hidden.
The text was updated successfully, but these errors were encountered:
KittyGiraudel
changed the title
Event 'showing', 'hidding'
Consider implementing the 'shown' and 'hidden' events to facilitate animations
Mar 22, 2024
So I’m thinking about it and I don’t quite know how that would work. a11y-dialog doesn‘t deal with animations at all. I guess it could fire an event at the beginning of the show method (see #696), and one at the end of the show method, but ultimately they’d fire essentially at the same time since the methods are synchronous.
If you have a prototype or more info, I’m happy to consider it but in the current state, I don’t know how this library would implement something like this. Therefore I’ll be closing it. :)
This is more like feature request. As a BS5 user I'm used to use their events
show
,shown
,hide
,hidden
which is perfect in some cases.show
- fires immediatelyshown
- fires aftershow
animation endshide
- fires immediatelyhidden
- when thehide
event endsThe last two are a good way to get proper fade-out to work as we can animate on
hide
anddisplay: none;
onhidden
.The text was updated successfully, but these errors were encountered: