You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For this case, the reproduce example is going to be a Tampermonkey user script file. I couldn't able to identify the source of the problem because from what I can see, the getBoundingClientRect returns the correct output. But the main issue is happening on the navigation bar of the sample websites.
I think I have identified the root cause. The element that I was targeting, their parent elements have will-change: transform; property and disabling it from the Chrome DevTools, did worked.
But there is another issue lays off, is there a way to implement a solution without removing the will-change property?
Like, clicking on an element and searching for will-change property by executing window.getComputedStyle method on parent elements recursively, will be a costly solution, speaking from the performance perspective
Environments
Description
When I create a moveable instance, the control box container position gets calculated incorrectly.
Here's a demo video
Sample 1 - https://www.marionnaud.at/
Screen.Recording.2022-08-03.at.10.26.32.mp4
Sample 2 - https://www.iciparisxl.nl/
Screen.Recording.2022-08-03.at.11.38.11.mp4
For this case, the reproduce example is going to be a Tampermonkey user script file. I couldn't able to identify the source of the problem because from what I can see, the
getBoundingClientRect
returns the correct output. But the main issue is happening on the navigation bar of the sample websites.New Userscript.user.js
The text was updated successfully, but these errors were encountered: