Skip to content

[ATooltip]: trigger on unexpected elements #140

@IcetCode

Description

@IcetCode

What is actually happening?

When we use ATooltip within an HTML tag, its triggering area becomes the current component instead of the current HTML tag. Here's an example:

<div class="flex flex-wrap gap-4">
  <ABtn>
    <ATooltip text="Hello!" />
    Hover Over Me
  </ABtn>

  <div>
    <ATooltip text="Hi!Anu"></ATooltip>
    Anu
  </div>
</div>

When the mouse moves over the entire outer div area, it triggers the appearance of the Tooltip
image

What is Expected?

It will only be triggered by its wrapping element.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions