Skip to content

[Vue] Menu closing issue when using an svg in the MenuButton (only for touch event) #3752

@wanted80

Description

@wanted80

What package within Headless UI are you using?

@headlessui/vue

What version of that package are you using?

v1.7.23

What browser are you using?

Chrome

Describe your issue

I'm using two dropdown Menu on my site header with an svg in the MenuButton and they don't close correctly on touch event on mobile. On click event it work fine. Using text instead of an svg image work fine too.

Idk if it is a similar bug like this old one (for React): #2986

I uploaded a video to show the issue.

screen-rec.mov

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