The toolbar flashes when navigating back from navigation controller

オープン
#2,102 コメント 1 件 リアクション 1 件 担当者 1 名 GitHub で見る

まだ誰も着手していません。

  • #2135 @copilot-swe-agent による — マージされずにクローズ

評価

この issue はまだ評価されていません。

説明

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.

主要言語
Swift
スター
16.6k
フォーク
2.4k
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

hackiftekhar/IQKeyboardManager のほかの issue

hackiftekhar/IQKeyboardManager の issue をすべて見る

似ている issue

Swift の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。