The toolbar flashes when navigating back from navigation controller

Abierto
#2,102 1 comentario 1 reacción 1 asignado Ver en GitHub

Nadie ha tomado este issue todavía.

  • #2135 de @copilot-swe-agent — cerrado sin fusionar

Evaluación

Este issue todavía no se ha evaluado.

Descripción

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.

Lenguaje dominante
Swift
Estrellas
16.6k
Forks
2.4k
Métricas de merge de PR
Sin PR fusionados en 30 d

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de hackiftekhar/IQKeyboardManager

Todos los issues de hackiftekhar/IQKeyboardManager

Issues similares

Más issues de Swift

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.