Skip to content

Tooltip is misplaced when it is rendered on a dialog #4734

@broccolinisoup

Description

@broccolinisoup

Description

When using Dialog 2, if the first interactive item that receives focus uses Tooltip (v2), the tooltip appears in a misplaced. It is reported internally on Slack.

Tooltip is corectly placed if it made it appeared again. it only happens when the dialog first opened.

It happens on Safari when the dialog is open with a mouse or keyboard. Other browsers, it only happends when the dialog is opened with using keyboard.

Steps to reproduce

  1. Go to issues
  2. Navigate to the "New Issue" button with a keyboard
  3. Enter

Observe that the tooltip is misplaced.

Version

v35.24.0

Browser

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    StalebugSomething isn't workingcomponent: TooltipIssues related to the Tooltip componentreactstaffAuthor is a staff member

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions