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: Region update event #3496

Merged
merged 1 commit into from
Jan 17, 2024

Conversation

brian-byassee
Copy link
Contributor

@brian-byassee brian-byassee commented Jan 16, 2024

Short description

Resolves #3494

Implementation details

Pass the side variable to the update event. We only call adjustScroll when it is the region being dragged.

How to test it

Use localhost regions example
See that adjustScroll only fires for region drag events

*IMPORTANT NOTE: this stops a broken experience but it fails to fully implement what a user would expect to happen when resizing/dragging a region with a scrollbar.

Screenshots

Checklist

  • This PR is covered by e2e tests
  • It introduces no breaking API changes

Copy link
Owner

@katspaugh katspaugh left a comment

Choose a reason for hiding this comment

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

Thank you! 🙏

@katspaugh katspaugh merged commit 7a9d9b2 into katspaugh:main Jan 17, 2024
2 checks passed
@NTCarlos
Copy link

Works like a charm, awesome!

@brian-byassee brian-byassee deleted the fix-region-update-events branch January 24, 2024 21:04
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.

Adjusting region size while zoomed on part of region cause major render issues
3 participants