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

Simplify all map resize logic to use ResizeObserver #662

Merged
merged 1 commit into from Mar 30, 2023

Conversation

paul121
Copy link
Member

@paul121 paul121 commented Mar 23, 2023

This simplifies things.... wish I would have found this sooner!

ResizeObserver seems to have full support in browsers since 2018-2020
https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserver
https://caniuse.com/resizeobserver

@mstenta
Copy link
Member

mstenta commented Mar 23, 2023

Wow! That really simplifies things!

Copy link
Collaborator

@symbioquine symbioquine left a comment

Choose a reason for hiding this comment

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

Beautiful!

@mstenta mstenta merged commit 4c15010 into farmOS:2.x Mar 30, 2023
2 checks passed
@paul121 paul121 deleted the 2.x-map-update-size branch August 25, 2023 23:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants