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

domainPadding panning issue #485

Open
djm158 opened this issue Jan 24, 2025 · 1 comment
Open

domainPadding panning issue #485

djm158 opened this issue Jan 24, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@djm158
Copy link

djm158 commented Jan 24, 2025

domainPadding seems to be messing with scrolling (panning) as well. I don't have a full example, but the issue that I had is when setting domainPadding={10} and enabled panning (on the x axis) with a preset viewport, I was only able to scroll within the viewport and not through the whole graph. After commenting out the domainPadding, everything worked as expected

Originally posted by @trujic1000 in #472

@djm158
Copy link
Author

djm158 commented Jan 24, 2025

see repro here #472 (comment)

also available in this branch https://github.com/FormidableLabs/victory-native-xl/tree/fix/472-bar-domain-padding-clip-bounds under the example titled Domain padding scroll [BUG REPRO]

@djm158 djm158 added the bug Something isn't working label Jan 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant