scrollbooster icon indicating copy to clipboard operation
scrollbooster copied to clipboard

Won't run smoothly with the inspector open

Open interactiveRob opened this issue 1 year ago • 0 comments

A simple horizontal slider set to transform mode will run very jerky when the inspector tab is open in dev tools.

Not a big issue, but it did make me think this plugin wasn't working properly for 20 minutes before I realized that the inspector itself was the cause of the bug.

My guess would be that the browser memory/render is dropping frames trying to display the transform and the inline styles on the draggable element. The animation tween is currently being applied via rapid fire inline CSS transforms.

interactiveRob avatar Mar 29 '24 14:03 interactiveRob