Skip to content

Instantly share code, notes, and snippets.

View Yamini09-code's full-sized avatar
🎯
Focusing

Yamini Yamini09-code

🎯
Focusing
View GitHub Profile
@barbietunnie
barbietunnie / additional_notes.md
Last active June 26, 2024 01:20 — forked from JaisonBrooks/remove_input_number_scroll.js
Disable Input[type=number] scroll action

Disable Input[type=number] scroll action

WebKit desktop browsers add little up down arrows to number inputs called spinners.

These spinners have their value changed inadvertently when the scroll wheel is active on the number field. To prevent this from happen, you may choose to prevent this functionality, even though it ignores accessibility considerations.

Here are further discussions regarding this: