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

Add nextOnOutsideClick option #238

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

lindboe
Copy link
Contributor

@lindboe lindboe commented Sep 8, 2021

Adds the option to advance the tutorial when the user clicks outside the step component. Useful for tooltip styles without labeled buttons (i.e., clicking anywhere on the screen should advance).

Part of a series of PRs for more flexible styling:

Adds the option to advance the tutorial when the user clicks outside the
step component. Useful for tooltip styles without labeled buttons (i.e.,
clicking anywhere on the screen should advance).
@@ -27,6 +27,7 @@ type Props = {
labels: Object,
svgMaskPath?: SvgMaskPathFn,
stopOnOutsideClick?: boolean,
nextOnOutsideClick?: boolean,
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wasn't sure about the importance of this type object because it's not exported and there's no tsconfig in the project?

@naoyamakino
Copy link

+1

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.

None yet

2 participants