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

fix(modal): remove active class on hide #2676

Merged
merged 1 commit into from
Jan 26, 2023

Conversation

lubber-de
Copy link
Member

@lubber-de lubber-de commented Jan 25, 2023

Description

Also remove the active class when a modal is hidden. This makes sure the modal doesnt keep an in between added active class if hide was called when the show transition has not already ended. The class is already removed at the start of the hiding process and it is still needed there because of CSS settings which will otherwise disturb the hide animation.
This PR fixes such a specific use case

Closes

#2528

@lubber-de lubber-de added type/bug Any issue which is a bug or PR which fixes a bug lang/javascript Anything involving JavaScript labels Jan 25, 2023
@lubber-de lubber-de added this to the 2.9.2 milestone Jan 25, 2023
@lubber-de lubber-de merged commit 27c5d2f into fomantic:develop Jan 26, 2023
@lubber-de lubber-de deleted the removeActiveOnHide branch January 26, 2023 08:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lang/javascript Anything involving JavaScript type/bug Any issue which is a bug or PR which fixes a bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant