-
Notifications
You must be signed in to change notification settings - Fork 4.6k
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
Touch events support for Tooltip #8454
Comments
<edit: previous version didn't work> Hitting the same issue. A workaround (stackblitz):
The key is in I verified it on Chrome (MacOS, Android and iOS) |
The workaround doesn't work for Safari iOS |
The problem still exists. pTooltip is useless for touch devices |
I ended up with this:
Which isn't ideal solution to be sure. |
still an issue in 14.0.2... workaround from "agustinsantiago" helped to make it work on mobile-tabs.... |
Hi, So sorry for the delayed response! Improvements have been made to many components recently, both in terms of performance and enhancement. Therefore, this improvement may have been developed in another issue ticket without realizing it. You can check this in the documentation. If there is no improvement on this, can you reopen the issue so we can include it in our roadmap? Best Regards, |
Hello,
|
@mertsincan, reading the source code ( primeng/src/app/components/tooltip/tooltip.ts Lines 110 to 126 in 996150b
can you reopen the issue ? |
Hello, touch support for the tooltip directive still hasn't been added yet, so we have to deal with ugly workarounds. A solution would be much appreciated! |
We need tooltips on iOS devices... Pls add 'touch' event |
@mehmetcetin01140 @cetincakiroglu I intended to pick up the issue, but no one replied to questions I asked in the PR that was closed therefore i do not know what is needed / what was wrong with the PR that got rejected. |
I'm submitting a ... (check one with "x")
Stackblitz Case (Bug Reports)
see bellow for a test case scenario with tooltips placed on both icon elements or textboxes
https://stackblitz.com/edit/primeng-issues-tooltips
Current behavior
the tooltips work fine on desktop on any element
the tooltips do not seem to work on ios browsers
Expected behavior
tooltips displayed through "tap/double tap" or "long press/touch and hold"
Minimal reproduction of the problem with instructions
the issues should be reproducible withe the above stackblitz
What is the motivation / use case for changing the behavior?
make the tooltip a viable solution for the mobile experience as well
Please tell us about your environment:
ios 13 browsers (safari, edge, chrome)
Angular version:
8.X, 9.X
PrimeNG version:
8.X, 9.X
The text was updated successfully, but these errors were encountered: