Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: implement handling for closing transitions #140

Merged
merged 7 commits into from
Nov 11, 2024
Merged

Conversation

NickDJM
Copy link
Owner

@NickDJM NickDJM commented Sep 27, 2024

Description

This is to support the new feature coming to the main project where closing transitions will be supported (by essentially adding a timeout before removing the transitioning class).

This also has a happy side effect of me realizing that Bootstrap 5 has a unique way of transitioning opening/closing of root level menus, so it'll add support for that as well.

A new option will be passed called bootstrapTransitions (default true) that will mimic the way bootstrap handles opening/closing menus along with adding support for the --am-transition-duration custom prop. Passing false for this option will allow you to use the accessible-menu way of transitioning menus open/closed- which will require custom styling on top of bootstrap.

@NickDJM
Copy link
Owner Author

NickDJM commented Sep 27, 2024

Feature-wise this appears to be ready. Just need to update the tests to account for all the changes.

@NickDJM NickDJM merged commit ae9cb68 into 2.x Nov 11, 2024
5 checks passed
@NickDJM NickDJM deleted the transition-duration branch November 11, 2024 18:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant