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 inside a Popover shown in a wrong position when onFocus #1434

Open
simotae14 opened this issue Oct 25, 2023 · 0 comments
Open
Labels
issue: bug Issue reporting a bug source: design-system relates to design-system package status: confirmed Confirmed by a Strapi Team member or multiple community members
Milestone

Comments

@simotae14
Copy link
Contributor

What version of strapi-design-system are you using?

  • Npm version: 9.6.7
  • Node.js version: 20.3.1
  • Strapi Design System version: 1.13.0
  • Browser: Chrome

What's Wrong?

When you open a Popover with a button with a Tooltip inside it, when onFocus, the Tooltip position is wrong, it is placed not near the button.
As you can see in this video it happens in different places inside the CMS for example

error.mov

To Reproduce

There are several places in the CMS where you can find the error

  • if you create a Block field in a collection and add a link in the Editor, when you click on the link and then on the Edit button in the popover you will see the Delete button tooltip at the top left of the window
  • if you create a Rich Text Editor Markdown field in a collection and then click the "Three dots" button, you can see the tooltip of the "Strikethrough" button at the top left of the window

Expected Behaviour

The Tooltip position needs to be near the related button

@simotae14 simotae14 added issue: bug Issue reporting a bug source: design-system relates to design-system package labels Oct 25, 2023
@simotae14 simotae14 self-assigned this Oct 25, 2023
@simotae14 simotae14 removed their assignment Feb 13, 2024
@joshuaellis joshuaellis added the status: confirmed Confirmed by a Strapi Team member or multiple community members label May 7, 2024
@joshuaellis joshuaellis added this to the v2.0.0 milestone May 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
issue: bug Issue reporting a bug source: design-system relates to design-system package status: confirmed Confirmed by a Strapi Team member or multiple community members
Projects
None yet
Development

No branches or pull requests

2 participants