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

Responding to Media Queries on window resize in React Native Web #152

Closed
haveamission opened this issue Jan 21, 2021 · 2 comments
Closed
Labels

Comments

@haveamission
Copy link

Is there a way to respond to window resize events and automatically re-calculate all of the Media Queries for the new window size?

@vitalets
Copy link
Owner

vitalets commented Mar 5, 2021

@haveamission This is related to dynamic theme change, see #caveats. You can manually subscribe to resize event and rebuild styles. But the problem is how to re-render all components of the app. Please see #47 (comment) for details.

@stale
Copy link

stale bot commented Jun 4, 2021

Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

@stale stale bot added the wontfix label Jun 4, 2021
@stale stale bot closed this as completed Jun 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants