Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Get Keyboard height incorrect

Aperta
#2,165 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub

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

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di hackiftekhar/IQKeyboardManager

Tutte le issue di hackiftekhar/IQKeyboardManager

Issue simili

Altre issue su Swift

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.