Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: tooltip appears outside of overflow #32882

Open
2 tasks done
marclundgren opened this issue Sep 20, 2024 · 2 comments
Open
2 tasks done

[Bug]: tooltip appears outside of overflow #32882

marclundgren opened this issue Sep 20, 2024 · 2 comments

Comments

@marclundgren
Copy link

Library

React Components / v9 (@fluentui/react-components)

System Info

This repros in codepen. unable to run `npx evninfo` there.

[codesandbox demo](https://codesandbox.io/p/sandbox/old-resonance-ksvsxj?file=%2Fexample.tsx%3A10%2C32)

Are you reporting an Accessibility issue?

no

Reproduction

https://codesandbox.io/p/sandbox/old-resonance-ksvsxj?file=%2Fexample.tsx%3A10%2C32

Bug Description

Actual Behavior

  1. hover over a tooltip trigger element
  2. scroll down the page until the tooltip should overflow into the fold of the scroll
  3. the tooltip appears outside the overflow

Expected Behavior

  1. hover over a tooltip trigger element
  2. scroll down the page until the tooltip should overflow into the fold of the scroll
  3. the tooltip stays with the trigger anchor and appears to be hidden when scrolled out of view

Logs

No response

Requested priority

Normal

Products/sites affected

https://copilotstudio.microsoft.com

Are you willing to submit a PR to fix?

yes

Validations

  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • The provided reproduction is a minimal reproducible example of the bug.
@layershifter
Copy link
Member

@dmytrokirpa
Copy link
Contributor

Thank you, @marclundgren, for bringing this issue to our attention. I've verified that it indeed is a bug. We have two potential solutions:

Additionally, it's worth noting that there are two related open issues - #32886 and #26786.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants