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

Prevent URL modification on dismiss #3338

Conversation

scotty6435
Copy link
Contributor

When users dismiss notifications today, the href value of # is added to the current page. Although this does not cause compatibility issues, it's a pseudo-navigation that adds no value. Preventing this with preventDefault() will not negatively impact the system notifications at all and it will prevent conflicts with SPAs and other interactions while there is a non-default URI fragment in place.

@davidjgonzalez davidjgonzalez merged commit c8e8c09 into Adobe-Consulting-Services:master May 10, 2024
19 checks passed
@kwin kwin added this to the 6.6.2 milestone Jun 3, 2024
YegorKozlov pushed a commit to YegorKozlov/acs-aem-commons that referenced this pull request Jul 11, 2024
* Prevent URL modification on dismiss

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

Successfully merging this pull request may close these issues.

3 participants