Skip to content
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

Black area appears after keyboard dismissed #1422

Closed
superdev89 opened this issue Aug 31, 2018 · 9 comments
Closed

Black area appears after keyboard dismissed #1422

superdev89 opened this issue Aug 31, 2018 · 9 comments

Comments

@superdev89
Copy link

superdev89 commented Aug 31, 2018

Describe the bug
Black area appears in the place of keyboard when popping the view controller by swiping.
I build a chat view controller by placing table view and textfield and buttons to send chat like the screenshot below.
image

After trying swipe to popup(not popped completely, released touch and stayed back in chat screen), black area appeared.

image
image

Versions

Xcode: 9.4.1
iOS: 11.3
Mac OS: xx.xx.x
Device: iPhone X, iPhone 6
Simulator/Device Name: iPhone 8
Library Version: 6.0.4

###Demo Project
https://www.dropbox.com/s/fry8b4bbh5wpzar/KeyboardDemo.zip?dl=0

@hackiftekhar
Copy link
Owner

Thanks for the demo project. I'll try to check what might be the cause of this issue.

@pockerhead
Copy link

I have a similar problem. In my case, after an incomplete interactive pop, it slides down the whole view and it leaves there. I think the root of the problem is the same.
Also please note that the project uses a third-party library SideMenu https://github.com/kukushi/SideMenu, and root view controller of window is sideMenuViewController. If we run a project without using this library, and the root view controller is a simple Nav Controller, then there is no problem.
Screenshots below.
2018-10-23_10-40-38

2018-10-23_10-59-51

2018-10-23_10-41-10

@ceu
Copy link

ceu commented Nov 8, 2018

Hi, I have the same problem, so, how to solve this problem? @hackiftekhar

@hackiftekhar
Copy link
Owner

@pockerhead which version of library you are using?

@ceu
Copy link

ceu commented Nov 12, 2018

Using IQKeyboardManagerSwift (6.2.0) ,,,,this is my used version

@hackiftekhar
Copy link
Owner

okay, can you please share a demo project?

@hackiftekhar
Copy link
Owner

@superdev89 It is already been fixed with the v6.0.5, this is similar issue of #1361. Enjoy!

@SonnyMore
Copy link

Hello! I use new 6.3.0 pod version and I have this issue too. I didn't use some beginFirstResponder, just open keyboard and swipe back to pop view controller. It works only if u will swipe back but swipe right, not letting go of your finger. so that there is no going back. And u will see black space

@hackiftekhar
Copy link
Owner

@SonnyMore Please share a video and demo project to demonstrate the issue with v6.3.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants