react-component / react-component/slider
Dragging handle highlights surrounding page content
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 3.1k
- Forks
- 768
- Avg merge
- 11d 22h
- Merged PRs (30d)
- 5
Description
When the mouse is not moved very carefully exactly on the handle while dragging the handle, content surrounding the slider gets highlighted (i.e. "blue"/selected). I can create a PR to fix this if you like but it's just one line to be added in index.less (add user-select: none; at line 62), so probably not worth the hassle.
(Observed in Microsoft Edge browser in Windows 10)
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 in index.less at the referenced line 62 and reproduce the drag behavior in Microsoft Edge on Windows 10. Verify that surrounding page content is no longer selected while dragging the slider handle; the issue’s proposed user-select rule identifies the expected scope of the fix.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- css, react
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 50/100