Skip to content

Popover: hover area overlaps surroundings if content width is too big #5083

@Yves852

Description

@Yves852

Environment

  • Operating System: Linux
  • Node Version: v20.12.0
  • Nuxt Version: 4.1.2
  • CLI Version: 3.28.0
  • Nitro Version: 2.12.6
  • Package Manager: [email protected]
  • Builder: -
  • User Config: modules, devtools, compatibilityDate, future, css
  • Runtime Modules: @nuxt/[email protected]
  • Build Modules: -

Is this bug related to Nuxt or Vue?

Nuxt

Package

v3.x

Version

3.3.5

Reproduction

https://codesandbox.io/p/devbox/popover-hover-bug-v5sd4n

Description

With the UPopover component, with "hover" mode, if the content is too large (width) : when you hover the popover title and move the cursor outside either on the left or the right, the hover effect will not stop until some spaces away is met.

Adding a top margin doens't prevent the bug. Changing the width from "w-350" to "w-20" prevent the bug from happening.

Additional context

Image

Logs

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