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

Differentiate between overlay clicks and target clicks #47

Merged
merged 1 commit into from Feb 5, 2021
Merged

Conversation

percula
Copy link
Contributor

@percula percula commented Jan 23, 2021

This PR resolves #28

I added a callback onClickOverlay that is called when the overlay is clicked. Also, onClickTarget is now called only when the target is clicked.

My use case for this is that I have a FloatingActionButton that is the target. When the overlay is clicked, I just want to dismiss the tutorials. But when the target is clicked, I want to do the action in the FloatingActionButton's onPressed method.

@RafaelBarbosatec
Copy link
Owner

Thanks @percula ! Greate job!

@RafaelBarbosatec RafaelBarbosatec merged commit a3f35ae into RafaelBarbosatec:master Feb 5, 2021
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.

Focus click on the content, not the all view
2 participants