Skip to content

React Aria tooltip does not open when the trigger element receives focus after scrolling. #9719

@Vinit-Pandit

Description

@Vinit-Pandit

Provide a general summary of the issue here

Tooltip does not open when the trigger element is focused after scrolling.

🤔 Expected Behavior?

Tooltip should open when the trigger element is focused after scrolling.

😯 Current Behavior

Tooltip does not open when the trigger element is focused after scrolling.

💁 Possible Solution

adding delay on focus of the trigger element ? .

🔦 Context

When the trigger element is out of view, pressing Tab moves focus to it and the page scrolls automatically, but the tooltip does not open in this scenario.

🖥️ Steps to Reproduce

Use tab and focus to the button which is on the end of the page .

https://codesandbox.io/p/sandbox/nervous-diffie-forked-gkqc7l

Version

1.15.1

What browsers are you seeing the problem on?

Chrome

If other, please specify.

No response

What operating system are you using?

Window 11

🧢 Your Company/Team

No response

🕷 Tracking Issue

No response

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