question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Bug Report][2.4.11] cursor does not appear in form components on mobile

See original GitHub issue

Environment

Vuetify Version: 2.4.11 Vue Version: 2.6.0 Browsers: Mobile Safari, Chrome OS: iOS 14.5.1

Steps to reproduce

On mobile, when first loading the page and tapping into a form field (e.g. Name) no cursor appears. Only upon tapping into another field does it show a cursor.

Codepen link below shows it, as does the Vuetify docs page itself: https://vuetifyjs.com/en/components/forms/

Works properly on desktop - this only seems to happen on mobile (tested on iPhone 12 in Safari and mobile Chrome browsers)

Expected Behavior

Cursor should appear upon tapping into field, and upon typing within that field

Actual Behavior

No cursor appears until tapping into a second field and then back again

Reproduction Link

https://codepen.io/t17/pen/jOBPgVG?editors=1010

Issue Analytics

  • State:open
  • Created 2 years ago
  • Reactions:5
  • Comments:12 (4 by maintainers)

github_iconTop GitHub Comments

6reactions
mcfarljwcommented, Jul 22, 2021

We’ve had a fair number of frustrated users who’ve reported this issue over the past several months. I would also like to add that it seems to happen on Chrome for iOS as well. I checked out a recent referenced duplicate issue (https://github.com/vuetifyjs/vuetify/issues/13933) and that fix seems to solve the issue in my testing. I’m not sure why though. Here is a copy of the fix:

.v-text-field > .v-input__control > .v-input__slot {
  transition: background 0.3s cubic-bezier(0.25, 0.8, 0.5, 1);
}

The negative of this approach is that on iOS the border doesn’t match the specific theme/cursor color, but at least the cursor doesn’t become invisible.

3reactions
elwyoscommented, May 21, 2021

This happened with my textbox on iOS too, and I checked to see if the forms page on vuetifyjs’ website also exhibited this issue – and it did ( https://vuetifyjs.com/en/components/forms/ )

I think it might be a vuetifyjs specific issue - doesn’t seem to happen on the other vue toolkits.

I have noticed the cursor appears again when you touch-hold the textbox. Refreshing the forms page will cause the “cursor not appearing” issue to remanifest, and only solved when changing textboxes (i.e the cursor appears after switching from the first textbox).

I’ve also noticed that when switching around on that form, the textbox goes red (because of failed validation), but when typing on iOS on the red form, the cursor stays red while the underline turns blue. This is unlike the behavior on desktop where the cursor color should follow the underline’s color.

At any rate, I hope there can be a solution or a workaround for this. Text cursor not appearing in iOS consistently feels like it’d be a big problem, and I’ve been spending some time trying to see if I could incorporate textboxes from other frameworks just to workaround this issue, but of course I would rather use the sexy, stylish vuetify textfields instead.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Cursor pointer sometimes disappear in XWayland apps
Description of problem: Whan overing a link on firefox, the cursor 'pointer' is not shown Version-Release number of selected component (if applicable): ...
Read more >
Citrix Fixes and Known Issues – XenApp & XenDesktop / ...
Users are unable to launch published applications intermittently with no error being displayed to the user. Citrix Studio also shows an active ...
Read more >
Why does my cursor turn into grey circle and not able to ...
Today I tried again but I'm not able to get it working. Firstly my cursor turned into a grey circle and I am...
Read more >
HTML 5.2: 4.10. Forms
<div><label>Your phone number: <input type=tel name=custtel ... Denotes elements that are listed in the form .elements and fieldset ...
Read more >
Open and Resolved Bugs for the Latest Webex Meetings ...
When an update does not include customer-found bugs, there will not be a Resolved Bugs list shown for that update.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found