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

Fix the static pin being moved to incorrect position #120

Merged
merged 1 commit into from
Oct 30, 2024

Conversation

thomasttvo
Copy link
Collaborator

@thomasttvo thomasttvo commented Oct 29, 2024

When the component is just shy of going from hidden to visible, and we call moveStaticPin too soon, the pin will be moved to a wrong position. This is due to the zoomable's measurements become all 0s while it is off-screen.

@thomasttvo thomasttvo merged commit 115c884 into master Oct 30, 2024
1 check passed
@thomasttvo thomasttvo deleted the thomas/fix-pin-move-incorrect branch October 30, 2024 23:40
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

Successfully merging this pull request may close these issues.

2 participants