The toolbar flashes when navigating back from navigation controller

Aperta
#2,102 1 commento 1 reazione 1 assegnatario Vedi su GitHub

Nessuno ha ancora preso questa issue.

  • #2135 di @copilot-swe-agent — chiusa senza merge

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

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.

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.