Thank you for your answer, I have tested the shaking demo on Firefox, Chrome and Safari on my Macbook Pro 14 (2021). pinType: "fixed" solves the shaking problem but results in a new problem as the custom scroller doesn't scroll the content when the cursor is on the pinned element. In this case the pinned element is a small red box, but in my project the animations are full screen (width and height of scroll container) making it impossible to scroll the content.
I've again made a minimal demo of the problem to illustrate that it is impossible to scroll when the cursor is on the pinned red box. https://codepen.io/KobeIndemans/pen/VwXqEwE
The problem occurs on Chrome and Firefox, not on Safari. How can I solve this problem? ScrollTrigger.normalizeScroll(true); seems to disable the scroll completely, so didn't solve the problem either.
Any help to solve this problem would be greatly appreciated!