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

[feature request] onClose event #20

Open
acarnwath opened this issue Feb 25, 2021 · 0 comments
Open

[feature request] onClose event #20

acarnwath opened this issue Feb 25, 2021 · 0 comments

Comments

@acarnwath
Copy link

There is currently an onCancel event and an onInstall event -- the onInstall fires when the user accepts the message in the "banner" but on non-native browsers, a second popup appears with instructions, so there is currently no built-in way to detect when the popups are gone (additionally they timeout, etc.)

I would like this event as I am adding in aria labels for accessibility's sake and I don't know when to flip it to aria-hidden. I'm also styling it as a takeover popup, and adding a class to the body to prevent scrolling, but I need to know when to remove it.

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

No branches or pull requests

1 participant