react-component / react-component/slider

Dragging handle highlights surrounding page content

Open
#491 3 comments 3 reactions 0 assignees View on GitHub

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.