iOS 27: Continuous Keyboard Flickering When Editing TextFields in the Last Table View Cells
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 45/100
Direzione di ricerca
Start by locating the code that calls adjustPosition() and changes the table view’s content insets, then trace how IQKeyboardToolbarManager handles embedded UITableViewController instances. Reproduce the steps on iOS 27 with the toolbar manager enabled and compare the behavior on an earlier iOS version. Done means the last-cell text field stays stable without repeated position or inset adjustments.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Describe the bug
When a UITableViewController is embedded as a child of a UIViewController, the keyboard continuously flickers when editing a UITextField in the last few table view cells on iOS 27.
This issue occurs when IQKeyboardToolbarManager is enabled using the following configuration:
IQKeyboardToolbarManager.shared.isEnabled = true
Initially, tapping a text field in one of the last four cells opens the keyboard and works as expected. However, while the keyboard remains open, scrolling further down and tapping the text field in the last cell causes the keyboard and table view position to flicker continuously.
The issue is reproducible on iOS 27 and does not occur on earlier iOS versions.
The debug logs show repeated calls to adjustPosition() with alternating content inset values and upward/downward movements, which may be related to the issue.
To Reproduce
Steps to reproduce the behavior:
-
Create a
UIViewControllerthat contains aUITableViewControlleras a child view controller. -
Add multiple table view cells containing
UITextFieldinstances, ensuring that at least the last four cells contain text fields. -
Enable
IQKeyboardToolbarManagerusing the following configuration:IQKeyboardToolbarManager.shared.isEnabled = true -
Run the application on an iOS 27 simulator or device with IQKeyboardManagerSwift enabled.
-
Scroll to the bottom of the table view and tap a text field in one of the last four cells. Verify that the keyboard opens and works as expected.
-
Without dismissing the keyboard, scroll further down to the last cell and tap its text field.
-
Observe that the keyboard and table view position continuously flicker instead of remaining stable.
Expected behavior
The keyboard should open normally, and IQKeyboardManagerSwift should adjust the table view's content offset and insets correctly to keep the active text field visible.
Enabling IQKeyboardToolbarManager should not cause continuous keyboard flickering or repeated, conflicting adjustments to the table view's position.
Screenshots
The attached screenshot shows repeated adjustPosition() calls in the debug console with alternating content inset values:
- Old bottom content inset:
338.0 - New bottom content inset:
396.0
The logs also show repeated upward and downward adjustments.
Video recordings and debug logs:
- Video 1 – Keyboard flickering: https://drive.google.com/file/d/1LGtTDx8slaPJicfQpj5n773TTlqJXCkZ/view?usp=sharing
- Video 2 – Additional reproduction: https://drive.google.com/file/d/1PlnrWjFtiBl1VzgQj7r0Dn55zTr-evmH/view?usp=sharing
- Screenshot – Debug logs: https://drive.google.com/file/d/1zjsgGGrxr1jyDH2NsnzPDfttPW9d69_Y/view?usp=sharing
Versions
Xcode: Version 27.1
Mac OS: Version 27.0.1
Simulator/Device: iOS 27.0
Simulator/Device Name: iPhone 17
Library Version: IQKeyboardManagerSwift 8.0.3
Additional context
- The issue is reproducible on iOS 27.0.
- The same behavior does not occur on earlier iOS versions.
- The issue occurs when the
UITableViewControlleris embedded as a child of anotherUIViewController. - The issue occurs when
IQKeyboardToolbarManager.shared.isEnabled = true. - The problem appears when editing text fields near the bottom of the table view while the keyboard is already open.
- The debug logs show repeated
adjustPosition()executions and alternating content inset values while the keyboard is active.
Please investigate whether changes in iOS 27 keyboard or scroll view behavior are causing IQKeyboardManagerSwift to repeatedly adjust the table view's position and content insets when IQKeyboardToolbarManager is enabled.
- 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 · 1 commento ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 56/100
hackiftekhar/IQKeyboardManager#2187 ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 65/100
hackiftekhar/IQKeyboardManager#2182 · 1 commento ·
-
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 ·
Tutte le issue di hackiftekhar/IQKeyboardManager
Issue simili
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 85/100
eliasstravik/herdr-projects#789 · 1 commento ·
-
follow-up needs-triage S3: minor
Difficoltà 1/5 1-3 ore Idoneità per principianti 85/100
manaflow-ai/cmux#38032 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 67/100
arkavo-org/ArkavoKit#70 ·
I maintainer di solito rispondono entro 1 giorno
-
fix(cli): usage silently ignores unknown --provider valuesForse già presa @harjothkhara l’ha presa oggi. Apertaclawsweeper:fix-shape-clear clawsweeper:queueable-fix clawsweeper:source-repro impact:auth-provider issue-rating: 🦞 diamond lobster no-stale P2
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
steipete/CodexBar#5017 · 1 commento · 1 reazione ·
I maintainer di solito rispondono entro 1 giorno
-
[BUG] mo clean deletes Cypress test runner binaries in ~/Library/Caches/CypressForse già presa @viniciusdsandrade l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno