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

Wrap <FilterPopover> in <Viewport> #2787

Merged
merged 2 commits into from
Aug 14, 2018
Merged

Conversation

hannesmcman
Copy link
Member

This PR is a simple solution to #2773, forcing the <FilterPopover> component to re-render when the screen rotates. Resolves #2773.

@hawkrives
Copy link
Member

Have you looked into fixing this upstream, or filing an issue upstream?

@hannesmcman
Copy link
Member Author

@hawkrives I looked into adding the event listener to the Popover component itself unsuccessfully, but I suppose we could propose wrapping the component in a Viewport upstream?

Copy link
Member

@hawkrives hawkrives left a comment

Choose a reason for hiding this comment

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

Eh sure, why not. There's only going to be one open at a time, anyway.

@hawkrives
Copy link
Member

We should still probably file an issue upstream, so they know about it, but I'm good with this approach for us.

@hawkrives hawkrives merged commit bc60552 into master Aug 14, 2018
@hannesmcman hannesmcman deleted the wrap-popover-in-viewport branch August 14, 2018 04:49
@rye rye added this to the v2.6 milestone Sep 11, 2018
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