spectrum-web-components icon indicating copy to clipboard operation
spectrum-web-components copied to clipboard

[Bug]: Tooltip and Popover (with tip) should have the same distance from trigger in overlay-trigger with same offset value

Open spdev3000 opened this issue 2 years ago • 3 comments

Code of conduct

  • [X] I agree to follow this project's code of conduct.

Impacted component(s)

Overlay, Tooltip, Popover

Expected behavior

If we use <overlay-trigger> with (or without) offset attribute - this (default) offset value should lead to same distance of tooltips and popover (with tip element) to the trigger element.

Actual behavior

If you compare tooltip and popover here at https://studio.webcomponents.dev/edit/mOF1zUEjLJzODGXFYaIU/src/index.ts?branch=dfda%40yOBt1947wIZCL9LXYVLsyGBLOok1&p=stories - it is not aligned, although no offset values are provided. Screenshot 2023-06-15 at 08 55 42

Screenshots

No response

What browsers are you seeing the problem in?

No response

How can we reproduce this issue?

  1. Go to https://studio.webcomponents.dev/edit/mOF1zUEjLJzODGXFYaIU/src/index.ts?branch=dfda%40yOBt1947wIZCL9LXYVLsyGBLOok1&p=stories
  2. Click on action button to open popover
  3. Close popover and hover over action button
  4. Compare distances/offsets from trigger button to overlaid content

Sample code that illustrates the problem

No response

Logs taken while reproducing problem

No response

spdev3000 avatar Jun 15 '23 06:06 spdev3000

Hi @spdev3000 ! Just curious if this issue is still happening for you.

najikahalsema avatar Aug 07 '24 16:08 najikahalsema

Hello @spdev3000 in order to help us triage your issue, can you please review our bug severity classification guide and provide us with the appropriate severity classification? Please update the label to the correct severity level and remove SEV missing label.

If we don't hear from you in 2 weeks, we will close this issue as not planned.

Image

caseyisonit avatar Jul 21 '25 17:07 caseyisonit

SEV 5

spdev3000 avatar Jul 21 '25 17:07 spdev3000