Skip to content

Prevent selection of bits while using drag functionality#13

Open
ahs3n wants to merge 1 commit into
evanw:gh-pagesfrom
ahs3n:adjustment-1
Open

Prevent selection of bits while using drag functionality#13
ahs3n wants to merge 1 commit into
evanw:gh-pagesfrom
ahs3n:adjustment-1

Conversation

@ahs3n
Copy link
Copy Markdown

@ahs3n ahs3n commented Oct 20, 2024

When dragging across the bits to switch several of them at once, they would get selected as text. This behaviour was quite annoying so I added user-select: none to the input class. However, this also causes the labels above the bits to be unselectable, though I decided that's probably useful too in most cases. I think 90% of people won't mind not being able to copy a two digit number.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant