-
Notifications
You must be signed in to change notification settings - Fork 42
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
Scrolling does not work on touch devices in virtualized Tree #2427
Comments
Thanks for reporting it. I was able to confirm this issue on an iPad simulator. We've added this issue to our backlog. |
We have been discussing about this but think we need some more context. Could you please elaborate a bit more on the following:
Also, just to mention, virtualization is something that we consider a We will try to dive deeper once we have more context. |
The issue was reported by a mobile app team for the Tree components in @ValdasSorys, can you comment on the other questions? |
@r100-stack We use the tree through |
To avoid confusion I'll note that the old widget version is using ControlledTree for rendering the hierarchy. The new version that has the issue uses iTwinUI Tree component for that. |
Describe the bug (current behavior)
Scrolling does not work on touch devices (a least on iPad) when virtualization is enabled.
TreeScroll.mov
Disabling virtualization fixes this issue.
Expected Behavior
Scroll should work in both modes: virtualized and non-virtualized.
Link to minimal repro
https://stackblitz.com/edit/github-ua98yj8r-ittcdqhn?file=src%2FApp.tsx
Steps To Reproduce
Some iPads might struggle to run provided stackblitz sandox. In that case clone this repo: https://github.com/saskliutas/itwinui-sandbox/tree/main to run example locally.
Package Version
Anything else?
I can only test this on iPad so not sure if this is reproducible on all touch devices. Might be reproducible with touch screen laptops but I cannot confirm that.
The text was updated successfully, but these errors were encountered: