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

Wrong tap due to UIKeyboardWillHideNotification #131

Open
apple64 opened this issue Sep 25, 2020 · 0 comments
Open

Wrong tap due to UIKeyboardWillHideNotification #131

apple64 opened this issue Sep 25, 2020 · 0 comments

Comments

@apple64
Copy link

apple64 commented Sep 25, 2020

Hi!

The issue occurs on iPad.

Add a tableView in STPopup.
Add some cells. One of them must have a textField.
Tap on textField. The keyboard will be shown and the STPopup moves to make place.
Tap on another cell. UIKeyboardWillHideNotification will be called before didSelectRow.
As a result, the tableView registers the tap on a wrong cell.

Change UIKeyboardWillHideNotification to UIKeyboardDidHideNotification solves the problem.

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

1 participant