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

[popover2] fix(Popover2): handle popover v1 dismiss correctly #4736

Merged
merged 4 commits into from
May 27, 2021

Conversation

adidahiya
Copy link
Contributor

@adidahiya adidahiya commented May 27, 2021

Fixes #4695, fixes #4691

Checklist

  • Includes tests
  • Update documentation

Changes proposed in this pull request:

  • Extract reusable implementation of <FilmSelect> component from SelectExample
  • Add <FilmSelect> as a content option for Popover2Example
  • Fix Popover2's dismissal logic to properly check for v1 popover "capture dismiss" class names
  • Fix Popover2 documentation annoying behavior #4691 by adding enforceFocus={false} to the example

Reviewers should focus on:

  • Select example still works
  • Popover2 capture dismiss example still works

Screenshot

2021-05-27 14 21 57

2021-05-27 14 22 22

@blueprint-bot
Copy link

fix test import paths

Previews: documentation | landing | table

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.

Selecting a menu item closes popover2 automatically Popover2 documentation annoying behavior
2 participants