The toolbar flashes when navigating back from navigation controller

Đang mở
#2,102 1 bình luận 1 reaction 1 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

  • #2135 của @copilot-swe-agent — đã đóng, không merge

Đánh giá

Issue này chưa được đánh giá.

Mô tả

Describe the bug
The toolbar flashes when navigating back when navigating to the next screen, then goes back with the keyboard showing up

To Reproduce

Focus on any field with a toolbar enabled, navigate to the next screen using navigationController.pushViewController, then swipe back and press the back button. Then you will see the toolbar flash for a second.

Note that we navigate from the search screen, to keep a better user experience, we want to keep the keyboard show, so we cannot use endEditing to fix the issue

Expected behavior
The toolbar not flashing anymore

Screenshots

https://github.com/user-attachments/assets/f09231ce-87a4-4e55-9f19-a3b39f1b27f5

Demo Project
Using the Demo project from IQKeyboardManager still can reproduce

Versions

Xcode: 16.0
Mac OS: xx.xx.x
Simulator/Device: iPhone 16 Pro, iOS 18.0
Library Version: Develop branch downloaded 17 March

Additional context
Add any other context about the problem here.

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

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của hackiftekhar/IQKeyboardManager

Tất cả issue của hackiftekhar/IQKeyboardManager

Issue tương tự

Thêm issue về Swift

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.