We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Recomputing of the displayed text should happen when the size of the container element changes, and not when the window was resized.
That means, instead of handling the (window) resize event, a ResizeObserver for the element should be used.
resize
ResizeObserver
The text was updated successfully, but these errors were encountered:
fix: use ResizeObserver instead of window resize event listener
ad951b9
Fixes microlinkhq#33
6c0ebfb
75a926c
Successfully merging a pull request may close this issue.
Recomputing of the displayed text should happen when the size of the container element changes, and not when the window was resized.
That means, instead of handling the (window)
resize
event, aResizeObserver
for the element should be used.The text was updated successfully, but these errors were encountered: