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

[Dialog] fix eager closing #2756

Merged
merged 3 commits into from
Aug 3, 2018
Merged

[Dialog] fix eager closing #2756

merged 3 commits into from
Aug 3, 2018

Conversation

giladgray
Copy link
Contributor

@giladgray giladgray commented Aug 2, 2018

Fixes #2753, Fixes #2560, Fixes #2240, Fixes #2759

Changes proposed in this pull request:

  • replace the broken canOutsideClickClose re-implementation in Dialog with pointer-events logic so we can simply reuse the correct logic in Overlay itself.
  • we already had this none/all pair for user-select, so it makes sense to add the pointer-events combo too.

@blueprint-bot
Copy link

add type="button" to close button

Preview: documentation | landing | table

@blueprint-bot
Copy link

remove obsolete test

Preview: documentation | landing | table

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.

3 participants