Targeted input loses focus on android and ios devices
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 35/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Stack tecnologico
- javascript
- Ambito
- frontend, mobile-dev
Direzione di ricerca
Inizia con la riproduzione CodeSandbox in src/index.js ed eseguila su dispositivi Android e iOS fisici, confrontando il comportamento con e senza il shepherd-element. Conferma la perdita del focus e la chiusura della tastiera, quindi isola la modifica necessaria affinché l'input interessato rimanga focalizzato mentre l'elemento del tour resta presente.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Hey, I am having a weird issue in mobile devices that I cannot figure out.
Basically I have one step that targets an input element, and it is expected that the user types something to proceed to the next step.
This works fine when trying on desktop, but on android or ios when I click the input element to start typing the input immediately loses focus. On android is very obvious that the keyboard shows for a little bit and disappears
Here's a simple codesanbox showing the issue:
https://codesandbox.io/s/silly-ritchie-o0w88?file=/src/index.js
The issue doesn't appear in the browser's responsive mode, only in the actual devices.
One thing that I noticed is that If I remove the 'shepherd-element' element from the dom it works fine. Not sure if this indicates something relevant
Thanks
- Lingua principale
- JavaScript
- Stelle
- 13.8k
- Fork
- 658
- Merge medio
- 7g 5h
- PR unite (30g)
- 18
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di shipshapecode/shepherd
-
Docs: rendering framework components as step content, and why DOM injection belongs in when.show Apertadocumentation
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
shipshapecode/shepherd#3479 ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 52/100
shipshapecode/shepherd#3505 ·
-
bug
Difficoltà 4/5 3-5 giorni Idoneità per principianti 52/100
shipshapecode/shepherd#3484 ·
-
bug
Difficoltà 4/5 3-5 giorni Idoneità per principianti 52/100
shipshapecode/shepherd#3478 ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
shipshapecode/shepherd#3442 · 1 commento · 2 reazioni ·
Tutte le issue di shipshapecode/shepherd
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 90/100
TheOdinProject/curriculum#31423 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
WGBH-MLA/dream-aapb#69 ·
-
Difficoltà 1/5 1-3 ore Idoneità per principianti 78/100
Mintplex-Labs/anything-llm#6490 ·
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 86/100
openlayers/ol-cesium#1364 ·