Skip to content

ld-input #386

Answered by borisdiakur
ArpithaKamath asked this question in Q&A
Discussion options

You must be logged in to vote

Hello Arpitha,
the reason for why we hide the arrows is that we cannot style them consistently across different browsers and we were not happy with their default style in any of the major browsers. Implementing custom arrow buttons is a bit tricky, because they don't make much sense on touch devices, as they would be too small anyway, so you would need to detect touch devices and hide them accordingly. However, we still offer the possibility to use type='number' on the ld-input component as well as the step attribute in order to support input via keyboard. Please try it out using the arrow up and down buttons on your keyboard. If you think the arrow buttons are an important feature that w…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ArpithaKamath
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants