Skip to content

el-popover does not close when clicking outside #1767

@bergwerf

Description

@bergwerf

What component (if applicable)

Describe the bug
I upgraded my code with Tailwind Plus Elements, and used el-popover and el-popover-group as shown in the example to replace Vue. Actually, I pasted the entire example into my code base (which is based on Astro) to test. The result works, except that the popover doesn't close when clicking outside of it. This does work in the demo. Since my page does not contain any additional JavaScript or CSS, and the Header component is duplicated exactly as in the example, I could not identify the difference causing this issue. How is el-popover supposed to close when clicking outside it?

Browser/Device (if applicable)

  • OS: Debian
  • Browser: Firefox
  • Version: 140

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