Get Keyboard height incorrect
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 32/100
- Tipo di issue
- Bug
- Chiarezza
- Da chiarire
- Stato di attività
- Ferma
- Stack tecnologico
- swift
- Ambito
- mobile-dev
Direzione di ricerca
Start by reproducing the issue with the IQKeyboardManager and IQKeyboardToolbarManager settings, the keyboardWillShowNotification observer, and a third-party keyboard on Xcode 16.4. Compare the first-launch keyboard height and notification count with IQKeyboardManager enabled and disabled. Done means the first keyboard presentation reports the correct height without the extra incorrect notification.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Describe the bug:
The app gets an incorrect keyboard height on the first use of the keyboard each time it launches, especially when a third-party keyboard is used as the default keyboard.
To Reproduce
Steps to reproduce the behavior:
IQKeyboardManager.shared.isEnabled = true
IQKeyboardToolbarManager.shared.isEnabled = true
NotificationCenter.default.addObserver(self,
selector: #selector(keyBoardWillShow(_:)),
name: UIResponder.keyboardWillShowNotification,
object: nil)
Expected behavior:
keyBoardWillShow Called 2 times, the keyboard height obtained via keyboardFrameEndUserInfoKey is incorrect.
Setting IQKeyboardManager.shared.isEnabled = false will make everything work normally.
Versions
Xcode: 16.4
Library Version: 8.0.1
- Lingua principale
- Swift
- Stelle
- 16.6k
- Fork
- 2.4k
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi 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 hackiftekhar/IQKeyboardManager
-
Xcode 27 UpdateAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
hackiftekhar/IQKeyboardManager#2184 ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 65/100
hackiftekhar/IQKeyboardManager#2182 ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
hackiftekhar/IQKeyboardManager#2181 ·
-
Root view does not fully move down when switching from a taller keyboard to a shorter keyboardAperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 68/100
hackiftekhar/IQKeyboardManager#2180 · 1 commento ·
-
UI OptimizationAperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 38/100
hackiftekhar/IQKeyboardManager#2178 · 1 commento ·
Tutte le issue di hackiftekhar/IQKeyboardManager
Issue simili
-
Bug 🐞
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
mozilla-mobile/firefox-ios#35986 ·
I maintainer di solito rispondono entro 1 giorno
-
Reading an empty file leaks a 4 KB buffer on Linux (Data(contentsOf:), String(contentsOfFile:))Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
swiftlang/swift-foundation#2304 ·
I maintainer di solito rispondono entro 1 giorno
-
area:caching bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
axeslasher/Jelly-Shark#321 ·
I maintainer di solito rispondono entro 1 giorno
-
[iOS] Script init caches the wrong view model when dataBind is applied after state-machine creationForse già presa Una pull request collegata a questa issue è aperta o già unita. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 63/100
rive-app/rive-nitro-react-native#414 ·
I maintainer di solito rispondono entro 1 giorno
-
type: bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 77/100
googleapis/google-cloud-swift#1412 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno