Saint_Pepsi Posted May 20, 2022 Share Posted May 20, 2022 Hi All, I Hope I've put this in the right place, I've been struggling with this issue for a while now. I've had a stack overflow issue open for more than a year and no replies. In basics. I overlay a canvas on my UI DOM, this canvas has animations / particles / tutorial pointers etc. to make the UI prettier and filled with motion. The problem comes when you try to scroll something that is underneath this canvas, the scrolling becomes disproportionate Please see my stackoverflow issues: https://stackoverflow.com/questions/67511840/disproportional-overflow-scrolling-on-scaled-element https://stackoverflow.com/questions/67541498/disproportionate-scrolling-on-element-with-an-overlaying-pointer-eventsnone-el Has anyone battle with this before? Or perhaps any suggestions for a workaround? Kind Regards, SanCoca Quote Link to comment Share on other sites More sharing options...
Milton Posted May 20, 2022 Share Posted May 20, 2022 I think it doesn't take account of the scale factor. If your ui div isn't scaled, the scrolling speed would probably be the same. Maybe try googling for "scale scroll speed mobile" for some suggestions. Saint_Pepsi 1 Quote Link to comment Share on other sites More sharing options...
Saint_Pepsi Posted May 21, 2022 Author Share Posted May 21, 2022 Thanks for the suggestion @Milton, I did come across 1 guy who seemingly got closer to solving it but still too far off that it was anything practical. As a workaround for now I'm only showing the overlaying element when it actually has anything to render. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.