-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Part of view is missing, when keyboard is showing and swipe back. #1361
Comments
Same issue here is there any update with this because it's really frustrating. I am unable to publish my apps as long as this bug still occurs. |
Same behavior here |
okay, let me take a look into this. |
I can reproduce this issue. Let me see what is the actual issue. |
I found the cause, unfortunately it's hard to write workaround for that. What actually happens under the hood is, the gesture change the rootViewController.view's frame. So here is the execution step by step:
Because that origin value comes from view.frame.origin so library think that it should be the correct value for view origin and we should restore view to this origin on textField dismiss. |
I wrote a workaround for this issue. Now if library detects that user is applying interactivePopGesture of it's navigationController then library will save |
@hackiftekhar when do you have in plan to release this new version? |
I'm planning to release this in couple of days (after checking/fixing couple of more issues). |
any news about the release for this issue? |
This is already released I think. |
I'm still able to repro this issue after the latest release (6.2.0). Has this been fixed for anyone else? (Amazing library BTW!) |
Then can you please share demo project @calhouncole ? |
For me, the solution is to dismiss the keyboard on viewWillDissappear |
Any updates on this? @hackiftekhar I think that @uziwuzzy have shared a demo project here: https://github.com/hackiftekhar/IQKeyboardManager/files/2084476/TesKyeboard.zip |
Description
When there's navigation controller, everytime keyboard is showing, and swiping back is used, some part of the view is missing.
[Description of the issue]
Steps to Reproduce
Expected behavior: [there's no black part, the view should act normal when navigating through swiping]
Actual behavior: [everytime keyboard is showing, and swiping back is used, some part of the view is missing]
Reproduces how often: [100%]
Versions
Xcode: 9.4
Mac OS: 10.13.5
Device: 11.3
Device Name: iPhone 5se
Library Version: 6.0.3
Additional Information
This are sample demo, in this sample, the bug will go away when we push the SecondVC again, but In the app that I build, the bug itself always persist eventhough the view reappeared, and it sometimes occured in the top part or the bottom part.
the sampe code:
TesKyeboard.zip
sample videos how to reproduce:
bugKeyboard.zip
bugKeyboardSample.zip
The text was updated successfully, but these errors were encountered: