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]: Tooltips add shadow on optional arrow #4290

Open
aedu-hostettler opened this issue Dec 15, 2024 · 3 comments
Open

[bug]: Tooltips add shadow on optional arrow #4290

aedu-hostettler opened this issue Dec 15, 2024 · 3 comments
Labels
🐞 bug Something isn't working 📦 components Related to the @swisspost/design-system-components package

Comments

@aedu-hostettler
Copy link

aedu-hostettler commented Dec 15, 2024

Describe the bug
For visibility purposes please add a shadow on the optional arrow shown on a visible tooltip.

Screenshots
Image

@aedu-hostettler aedu-hostettler added the 🐞 bug Something isn't working label Dec 15, 2024
@gfellerph gfellerph added the 📦 components Related to the @swisspost/design-system-components package label Dec 16, 2024
@gfellerph gfellerph added this to the Long Term Support milestone Dec 16, 2024
@gfellerph gfellerph moved this from 👀 Triage to 💻 Ready for development in Design System Production Board Dec 16, 2024
@gfellerph
Copy link
Member

@swisspost/design-system solution might be to use a sandwich technique with one element on top and the shadow element beneath the tooltip.

@gfellerph
Copy link
Member

@aedu-hostettler the information displayed in the tooltip does not meet the recommendations for this component. A tooltip should contain an explanation of an action, for example Image.

I'd recommend using a popover or a dialog for this type of content.

@aedu-hostettler
Copy link
Author

@gfellerph thx for the recommendation. to be honest, it was an ultra specific feature request, to have this kind of information popping up this way, on mousehover over the barcodenumber. 😄 that's why it is this way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐞 bug Something isn't working 📦 components Related to the @swisspost/design-system-components package
Projects
Status: 💻 Ready for development
Development

No branches or pull requests

2 participants