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

Allow for multiple instances of the slide_over component #404

Merged
merged 2 commits into from
Feb 21, 2025
Merged

Conversation

mitkins
Copy link
Collaborator

@mitkins mitkins commented Feb 21, 2025

The slide_over component has a number of elements with the id set. These elements need an id so the show/hide animations work. However, if you want to include more than one slide_over in a single page, then these ids end up creating a name conflict.

This PR adds an id attribute - allowing the ids to be user configurable. Therefore allowing more than one slide_over per page

@mitkins mitkins merged commit 29c0ac8 into main Feb 21, 2025
3 checks passed
@mitkins mitkins deleted the slide_over_id branch February 21, 2025 22:06
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