Open eran-pinhas opened 2 months ago
If anyone encounter the same issue, this is how we solved solved it 👇 . Not ideal, but what you're gonna do
setTimeout(() => {
const event = new Event('resize');
window.dispatchEvent(event);
}, 100);
You saved my day! Thank you @eran-pinhas I used that code snip but without setting the timeout.
Summary
RangeSlider seems to incorrectly locate the cursor's position
Extra info:
vite build
) but not on dev environment (vite
)Expected behavior
Dragging the min/max circles should match the cursor location
Actual behavior
Steps to reproduce
Are you using React components?
Yes
Polaris version number
12.25.0
Browser
Chrome 126.0.6478.183
Device
MacOS 14.3.1