Skip to content

RangeSlider not working properly #12422

Open
@eran-pinhas

Description

@eran-pinhas

Summary

RangeSlider seems to incorrectly locate the cursor's position

Extra info:

  • Was able to reproduce on my project
  • In my project it seems to occur on the built version (ie vite build) but not on dev environment (vite)
  • MacOS Sonoma 14.3.1
  • Browser: Chrome 126.0.6478.183

Expected behavior

Dragging the min/max circles should match the cursor location

Actual behavior

  • There is a shift between the cursor and the range selector when trying to click or drag
  • In some cases the browser seems to drag something else (maybe some sort of overlay?). This one happened only once when recording the screen but could not reproduce after.

ad954362-bf6f-4332-ab82-a5fa1a5caf09

Steps to reproduce

  1. Go to documentation page:
  2. Go to first example
  3. Add Money Spent filter
  4. Try to move the min or max selectors

Are you using React components?

Yes

Polaris version number

12.25.0

Browser

Chrome 126.0.6478.183

Device

MacOS 14.3.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething is broken and not working as intended in the system.untriaged

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions