You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Since version 7.0.0. (also with the latest version 7.0.2) IQKeyboardManager instance holds reference to the last focused text field even keyboard is dismissed, which makes memory leak and side effects on host application (as in my case). With version 6.5.16 no such issues.
To Reproduce
Steps to reproduce the behavior:
Initialize IQKeyboardManager in AppDelegate
Ensure the text field is the focus and dismiss the keyboard. Transition to another ViewController, ensuring it's not retained in the navigation stack. Although the specific ViewController is no longer part of the view hierarchy, it remains in the memory graph, which causes a memory leak and in my case app side effects.
Expected behavior
If keyboard is dismissed it shoudn't hold any reference to input fields.
Screenshots
Here is the memory graph:
Demo Project
n/a
Versions
Xcode: 15.3 Mac OS: 14.4.1 Simulator/Device: both on simulator and device Simulator/Device Name: iPhone 15 Library Version: 7.0.0./ 7.0.1./ 7.0.2.
Additional context
n/a
The text was updated successfully, but these errors were encountered:
Describe the bug
Since version 7.0.0. (also with the latest version 7.0.2) IQKeyboardManager instance holds reference to the last focused text field even keyboard is dismissed, which makes memory leak and side effects on host application (as in my case). With version 6.5.16 no such issues.
To Reproduce
Steps to reproduce the behavior:
Initialize IQKeyboardManager in AppDelegate
Ensure the text field is the focus and dismiss the keyboard. Transition to another ViewController, ensuring it's not retained in the navigation stack. Although the specific ViewController is no longer part of the view hierarchy, it remains in the memory graph, which causes a memory leak and in my case app side effects.
Expected behavior
If keyboard is dismissed it shoudn't hold any reference to input fields.
Screenshots
Here is the memory graph:
Demo Project
n/a
Versions
Xcode: 15.3
Mac OS: 14.4.1
Simulator/Device: both on simulator and device
Simulator/Device Name: iPhone 15
Library Version: 7.0.0./ 7.0.1./ 7.0.2.
Additional context
n/a
The text was updated successfully, but these errors were encountered: