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
Right now, the yew_bootstrap::component::Modal will appear and disappear without animation, while the JS Bootstrap component has an optional fade-and-slide effect. That effect will happen if the div.modal also has a .fade, and if this class is added to the HTML produced by component::Modal, it also works. Maybe there should be a property that allows using this behavior?
The text was updated successfully, but these errors were encountered:
I agree with your proposal; it sounds like it would be pretty easy to implement. A boolean property which would trigger adding the "fade" class to the set of classes added to the modal. If we aren't using the appendable classes pattern for this component, we certainly are elsewhere in the project.
If you make a PR for this I'll be happy to merge it!
Right now, the
yew_bootstrap::component::Modal
will appear and disappear without animation, while the JS Bootstrap component has an optional fade-and-slide effect. That effect will happen if thediv.modal
also has a.fade
, and if this class is added to the HTML produced bycomponent::Modal
, it also works. Maybe there should be a property that allows using this behavior?The text was updated successfully, but these errors were encountered: