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

feat(dialogs): auto-dismiss dialogs when there are no listeners #5269

Merged
merged 1 commit into from Feb 3, 2021
Merged

feat(dialogs): auto-dismiss dialogs when there are no listeners #5269

merged 1 commit into from Feb 3, 2021

Conversation

dgozman
Copy link
Contributor

@dgozman dgozman commented Feb 3, 2021

This makes dialogs disappear and prevents stalling.

Pros:

  • No need to worry about dialogs for most users.
  • Those that wait for a specific dialog still get to control it.

Cons:

  • Those who use Playwright to show interactive browser will have
    to add an empty 'dialog' handler to prevent auto-dismiss.
    We do this in cli.

Fixes #5134.

This makes dialogs disappear and prevents stalling.

Pros:
- No need to worry about dialogs for most users.
- Those that wait for a specific dialog still get to control it.

Cons:
- Those who use Playwright to show interactive browser will have
  to add an empty 'dialog' handler to prevent auto-dismiss.
  We do this in cli.
@dgozman dgozman merged commit 53ed35e into microsoft:master Feb 3, 2021
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.

[BUG] title getting when alert shown (after timeouted click) jams forever
2 participants