diff --git a/packages/vkui/src/components/Input/Input.module.css b/packages/vkui/src/components/Input/Input.module.css index 94c5f0ece2..4e785570c0 100644 --- a/packages/vkui/src/components/Input/Input.module.css +++ b/packages/vkui/src/components/Input/Input.module.css @@ -28,6 +28,20 @@ background: transparent; } +/* + * Отключаем нативные элементы для + * + * см. https://www.w3schools.com/howto/howto_css_hide_arrow_number.asp + */ +.Input__el::-webkit-outer-spin-button, +.Input__el::-webkit-inner-spin-button { + -webkit-appearance: none; +} + +.Input__el[type='number'] { + -moz-appearance: textfield; +} + .Input--sizeY-compact .Input__el { height: var(--vkui--size_field_height--compact); }