const element = document.querySelector('.element')
const style = getComputedStyle(element)
disablePointer: true, // important to disable the pointer events that causes the issues
disableTouch: false, // false if you want the slider to be usable with touch devices
disableMouse: false, // false if you want the slider to be usable with a mouse (desktop)