iOS 27: Continuous Keyboard Flickering When Editing TextFields in the Last Table View Cells
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 45/100
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- Swift
- Star
- 16.6k
- Fork
- 2.4k
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của hackiftekhar/IQKeyboardManager
-
Xcode 27 UpdateĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
hackiftekhar/IQKeyboardManager#2184 · 1 bình luận ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 56/100
hackiftekhar/IQKeyboardManager#2187 ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 65/100
hackiftekhar/IQKeyboardManager#2182 · 1 bình luận ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
hackiftekhar/IQKeyboardManager#2181 ·
-
Root view does not fully move down when switching from a taller keyboard to a shorter keyboardĐang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 68/100
hackiftekhar/IQKeyboardManager#2180 · 1 bình luận ·
Tất cả issue của hackiftekhar/IQKeyboardManager
Issue tương tự
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 85/100
eliasstravik/herdr-projects#789 · 1 bình luận ·
-
follow-up needs-triage S3: minor
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 85/100
manaflow-ai/cmux#38032 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 67/100
arkavo-org/ArkavoKit#70 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
fix(cli): usage silently ignores unknown --provider valuesCó thể đã có người làm @harjothkhara đã nhận hôm nay. Đang mởclawsweeper:fix-shape-clear clawsweeper:queueable-fix clawsweeper:source-repro impact:auth-provider issue-rating: 🦞 diamond lobster no-stale P2
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
steipete/CodexBar#5017 · 1 bình luận · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[BUG] mo clean deletes Cypress test runner binaries in ~/Library/Caches/CypressCó thể đã có người làm @viniciusdsandrade đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày