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

Enhancement: add resize observer to responsive components #6697

Closed
N1XUS opened this issue Sep 22, 2021 · 0 comments
Closed

Enhancement: add resize observer to responsive components #6697

N1XUS opened this issue Sep 22, 2021 · 0 comments

Comments

@N1XUS
Copy link
Contributor

N1XUS commented Sep 22, 2021

Is this a bug, enhancement, or feature request?

enhancement

Briefly describe your proposal.

Currently, our components rely on window resize or some data manipulation to calculate width/height of the containers and apply appropriate styling.
In some cases this calculation can be wrong and we might receive visual artifacts.
Another case is when something has been changed without component noticing it.
Resize observer could potentially fix such problems by tracking the size of the container itself, which will allow us to manipulate content more accurate.

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

No branches or pull requests

2 participants