Skip to content

Stepper touch improvement #19

@robinpoort

Description

@robinpoort

Hi there

Just saw your form design system in the Smashing newsletter. Checked it on mobile and thought I'd let you know that adding touch-action: manipulation; to the stepper component drastically improves the user experience since tapping on the - or + button multiple times in a row will most likely trigger a browser zoom (it will see this as a double-tap).

There is 90% browser support and no problem if older browsers will ignore this:
https://caniuse.com/?search=touch-action
https://developer.mozilla.org/en-US/docs/Web/CSS/touch-action

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions