react-component / react-component/slider
Cursor styles disrupted with step
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 3.1k
- Forks
- 768
- Avg merge
- 11d 22h
- Merged PRs (30d)
- 5
Description
Issue
The cursor style does not display correctly once the cursor leaves the handle, even when including a :focus style.
Expected
Cursor should maintain the :focus state until the handle is released.
Examples
Default
Notice that the cursor maintains the grab style until the handle is released.
https://codepen.io/matbrady/pen/wvWxvRE

React Component Slide
Notice the cursor style changes from grabbing to the default style

Possible solution
Add class to handle while it's being dragged.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the drag behavior using the CodePen native range example and the React component shown in the issue. Inspect the slider handle's drag styling and class state; done means the grabbing cursor remains visible after the cursor leaves the handle and until the handle is released.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100