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

Tooltips closed on window resize after system keyboard appears on mobile devices #1318

Closed
Irelynx opened this issue Jun 4, 2021 · 2 comments
Assignees
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Milestone

Comments

@Irelynx
Copy link

Irelynx commented Jun 4, 2021

I'm submitting a ... (check one with "x")

[x] bug report
[ ] feature request
[ ] support request

CodeSandbox Case (Bug Reports)
https://codesandbox.io/embed/compassionate-elbakyan-hz6r5?module=/src/App.vue

Current behavior
On a real mobile device, all tooltips (with and without .focus) are hiding by clicking on the field to which they are attached (because of system keyboard, that appears on screen and resizes the browser window, which leads to hiding of tooltips).

You can see the showcase of current behavior here: https://youtu.be/BXO5SdjP_mY (32 seconds video)

Expected behavior
Tooltip must not be closed completly on mobile devices.

Minimal reproduction of the problem with instructions
Create , add tooltip to it, then open on real mobile device

What is the motivation / use case for changing the behavior?
In some Inputs/Buttons, for better user experience, it is nice to show some hints. Not only on Desktop, but on mobile devices too.

Please tell us about your environment:

  • Windows

  • VSCode

  • npm

  • HTTP server - run project via npm run serve (vue-cli-service serve)

  • Vue version:
    3.0.11

  • PrimeVue version:
    3.4.0

  • Browser:
    All mobile browsers i think.
    In my showcase (youtube showcase video mentioned above) i use Chrome/86.0.4240.114 on Android


Also, i want to link some closed related issues in PrimeVue:

@Irelynx
Copy link
Author

Irelynx commented Jun 4, 2021

Showcase (same as on youtube)

tooltips.bug.showcase.mp4

@tugcekucukoglu tugcekucukoglu changed the title Tooltips closed on window resize on mobile devices (after system keyboard appears) Tooltips closed on window resize after system keyboard appears on mobile devices Jun 23, 2021
@tugcekucukoglu tugcekucukoglu added Type: Bug Issue contains a bug related to a specific component. Something about the component is not working vue2-portable labels Jun 23, 2021
@tugcekucukoglu tugcekucukoglu added this to the 3.5.2 milestone Jun 23, 2021
@tugcekucukoglu tugcekucukoglu self-assigned this Jun 23, 2021
@tugcekucukoglu
Copy link
Member

Thanks for the great explanation. It's fixed for next version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Projects
None yet
Development

No branches or pull requests

2 participants