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

Scroll View in 3D Space does not scroll correctly #4934

Closed
yaustar opened this issue Dec 19, 2022 · 0 comments · Fixed by #4935
Closed

Scroll View in 3D Space does not scroll correctly #4934

yaustar opened this issue Dec 19, 2022 · 0 comments · Fixed by #4935
Labels
area: ui UI related issue bug

Comments

@yaustar
Copy link
Contributor

yaustar commented Dec 19, 2022

Project: https://playcanvas.com/project/1020980/overview/scroll-view-doesnt-work-in-world

Try to scroll the view with the mouse and the content will shoot off to the side

I've tracked down the issue to ElementDragHelper#_screenToLocal return a change in Z component for the position which shouldn't be possible if it's in the local space of the element

Kapture.2022-12-19.at.13.24.18.mp4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: ui UI related issue bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant