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

Fix dismiss issues #54

Merged
merged 3 commits into from
Jul 1, 2019
Merged

Conversation

tvkanters
Copy link
Contributor

These changes some some issues that I found while using a sequence.
The main one involved just tapping the spotlight view multiple times. Because dismiss was called for each tap, the animation spazzed out and the onUserClicked callback was triggered multiple times, breaking the sequence badly.

Another issue could occur when focus was lost between views of a sequence. Since requestFocus() was only called before the view was visible, it didn't actually seem to do anything. By calling it right after the view is set visible, focus is actually granted, and the back button functions properly.

@ShaiAlkoby
Copy link

can you merge this?
it fixes an annoying issue with the onbackpress

@29jitender 29jitender merged commit 31119a4 into 29jitender:master Jul 1, 2019
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

Successfully merging this pull request may close these issues.

3 participants