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

Hide popovers when their containing modal is closed. #21227

Merged
merged 1 commit into from
Nov 29, 2016
Merged

Hide popovers when their containing modal is closed. #21227

merged 1 commit into from
Nov 29, 2016

Conversation

bardiharborow
Copy link
Member

@bardiharborow bardiharborow commented Nov 28, 2016

Fixes #19270 by detecting when the popover is inside a modal and listening for the modal close event. Will probably require a test case.

Fixes #20568 (dup).

/cc @mdo @cvrebert

Copy link
Member

@Johann-S Johann-S left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All good for me but yes a test case would be rad 👍

@mdo
Copy link
Member

mdo commented Nov 28, 2016

You're amazing!

@mdo mdo mentioned this pull request Nov 28, 2016
@mdo mdo added this to the v4.0.0-alpha.6 milestone Nov 29, 2016
@mdo mdo merged commit 535fec9 into twbs:v4-dev Nov 29, 2016
@mdo mdo mentioned this pull request Nov 29, 2016
@bardiharborow bardiharborow deleted the modal-popovers branch November 30, 2016 08:32
mdo pushed a commit that referenced this pull request Dec 29, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants