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]: weird behaviour of the post-tooltip on mobile #4450

Open
alionazherdetska opened this issue Jan 16, 2025 · 2 comments
Open

[bug]: weird behaviour of the post-tooltip on mobile #4450

alionazherdetska opened this issue Jan 16, 2025 · 2 comments
Labels
🐞 bug Something isn't working 📦 components Related to the @swisspost/design-system-components package needs: 🏓 dev roundtable To be discussed at the roundtable of esteemed developers v8

Comments

@alionazherdetska
Copy link
Contributor

alionazherdetska commented Jan 16, 2025

On mobile screens, the tooltip works buggy.

RPReplay_Final1737019196.mp4

To compare, here is the bootstrap implementation of the tooltip

RPReplay_Final1737019161.mp4

Smartphone:

Device: iPhone XR
OS: iOS 16.4
Browser: Chrome
Version: 131.0.6778.154

@alionazherdetska alionazherdetska added the 🐞 bug Something isn't working label Jan 16, 2025
@alionazherdetska alionazherdetska added needs: 🏓 dev roundtable To be discussed at the roundtable of esteemed developers 📦 components Related to the @swisspost/design-system-components package v8 labels Jan 16, 2025
@alionazherdetska alionazherdetska changed the title [bug]: tooltip does not work on mobile screen [bug]: weird behaviour of the post-tooltip on mobile Jan 16, 2025
@alionazherdetska
Copy link
Contributor Author

Image

@gfellerph
Copy link
Member

For the tooltip we're implementing a long-press event listener that seems to be broken. It should show the tooltip when a user presses a trigger element for a set amount of time (1 second or so). I think it's a bug.

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 needs: 🏓 dev roundtable To be discussed at the roundtable of esteemed developers v8
Projects
Status: 👀 Triage
Development

No branches or pull requests

2 participants