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: [#1534] Fix click event not removing open attribute #1536

Merged
merged 3 commits into from
Nov 4, 2024

Conversation

mikedidomizio
Copy link
Contributor

Solves #1534

I'm not exactly sure this is the correct approach to take as I'm not familiar with the project setup, but maybe we can figure it out.

This change makes it so that a click event on the <details> element will trigger the removal or adding of the open attribute.

Before clicking on <details> would not remove the attribute or add it either.

@capricorn86 capricorn86 merged commit 8f74989 into capricorn86:master Nov 4, 2024
3 checks passed
@capricorn86
Copy link
Owner

Thank you for your contribution @mikedidomizio! ⭐

Sorry that it took such a long time to get this in.

I have added some unit tests and added some additional rules according to spec.

@mikedidomizio mikedidomizio deleted the issue-1534 branch November 4, 2024 00:47
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.

2 participants