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: ensure that toast can be identify as a persistent element #2643

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Leiksa
Copy link
Contributor

@Leiksa Leiksa commented Jan 7, 2025

As discussed here, I made the change to add a generic identifier in order to retrieve all the toast that must be persistent after opening a modal.

I choose this approach to ensure a clear separation between styling and functionality, avoids potential class name conflicts, and makes the selection of persistent toasts more reliable and maintainable. Also data-wui-persistent can be used in any other component that need to be persistent.

@Leiksa Leiksa requested a review from a team as a code owner January 7, 2025 11:12
Copy link

github-actions bot commented Jan 7, 2025

👀 Visit Preview

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants