Skip to content

Compatibility issue with data-turbo-frame and Tailwind Plus Elements Dropdown #1422

@henrikbjorn

Description

@henrikbjorn

They guys from Tailwind have recently introduces non-js-framework components for Modal, Dropdown etc. They are build as custom elements.

When using the el-dropdown and the menu containing a link with data-turbo-frame="modal" the click on the link is not intercepted and a full navigation is performed.

If that same link is moved out of the el-dropdown element it works. The menu part of the dropdown uses the new popover html attribute. Not sure if that is part of the issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions