I have a project using ScrollSmoother & SCrollTrigger. Amazing btw! In the project I have ScrollSmoother doing its thing in general along with some jump to elements and a couple items with data-speed attributes. ScrollTrigger is handling some batched items to fade in and up along with a few pinned / scrubbed items. One fake horizontal scroll ScrollTrigger is disabled when using touch devices.
Everything is working well until I rotate my iPhone (11 latest iOS). I have added an additional debounce that calles .sort() & .refresh but once a change in orientation takes place it appears that the (I think) padding is not updating itself as elements appear cut off, in the wrong place and / or Timelines will not execute.
I've set my ScrollSmoother up before any ScrollTriggers with the following parameters:
smooth: 1,
effects: true,
normalizeScroll: true,
Am I missing something or is this still being worked on?
Thanks for the great code, truly awesome. (I still remember the Flash version that I also loved, especially the transform tool!)