Skip to content

Collapse should use touchstart event on touch devices #13036

@romancieslik

Description

@romancieslik

When collapsing the navbar-collapse, it takes around 1 second for the menu to respond to the event. Changing the event from

click.bs.collapse.data-api

to

touchstart.bs.collapse.data-api

solved this for us. The menu reacts almost instantly then.

Do you plan to make this event configurable?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions