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

Swipe from left bug #464

Closed
TadeasKriz opened this issue Mar 23, 2016 · 16 comments
Closed

Swipe from left bug #464

TadeasKriz opened this issue Mar 23, 2016 · 16 comments

Comments

@TadeasKriz
Copy link

When I click into a UITextField and then start swiping right from left edge, but only for about 6th of the screen then then put it back (so that I stay in the controller I'm in), it often results in somehow wrongly positioned view. See the following screenshot:

On iPhone 6s - iOS 9.2
iOS 9.2

On iPhone 5 - iOS 8.4
iOS 8.4

@hackiftekhar
Copy link
Owner

And you are sure that the textField is resigned and this is not the one from Xcode Simulator Known Issue explained in README. Correct?

1 similar comment
@hackiftekhar
Copy link
Owner

And you are sure that the textField is resigned and this is not the one from Xcode Simulator Known Issue explained in README. Correct?

@TadeasKriz
Copy link
Author

This happens in the demo app as well as in my own. I'm not sure if the demo app does resign it. I though the known issue is talking about black toolbar, not this black space. I'll try to add resignation to see.

@hackiftekhar
Copy link
Owner

Are you sure this issue is reproducible with Real iOS devices?

@TadeasKriz
Copy link
Author

Yes, I found it on my iPhone 6 with iOS 9.3.

@hackiftekhar
Copy link
Owner

Ok, then could you please provide me a video?

@TadeasKriz
Copy link
Author

I'll try.

@TadeasKriz
Copy link
Author

@hackiftekhar
Copy link
Owner

Thank You! I'll try to take a look at it tomorrow.

@TadeasKriz
Copy link
Author

@hackiftekhar Thanks!

@TadeasKriz
Copy link
Author

Do you think it is related to the known bug?

@hackiftekhar
Copy link
Owner

If this is reproducible with real device then it's not from the known but and it's new bug. I can comment something after looking the video.

@hackiftekhar
Copy link
Owner

I checked and I found that it's a bug. We need to fix it.

@hackiftekhar
Copy link
Owner

I checked the code and I found that IQKeyboardManager is doing correct frame changes, but iOS reset the ViewController's frame in the middle somewhere. I tried to capture frame changes using observers. But observer also doesn't capture the frame change made by iOS (with pop swipe gesture). I'm sure it's related to iOS, but still we need to do some workaround to avoid this issue. I feels that it's hard to fix because all the keyboard and textfield notifications are coming in exact order like a normal textField does with begin/resign responder. I don't have any clues by which I could identify something to fix this situation.

hackiftekhar added a commit that referenced this issue Jul 12, 2016
@Homeshchopra94
Copy link

i am still facing this issue any clues to avoid this?

@hackiftekhar
Copy link
Owner

which version you are using @Homeshchopra94, can you please upload a demo because I'm unable to reproduce this issue anymore.

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

No branches or pull requests

3 participants