Skip to content

Fix for the wrong type definition of StepOptions.scrollTo#494

Merged
RobbieTheWagner merged 1 commit intoshipshapecode:masterfrom
moxival:master
Aug 9, 2019
Merged

Fix for the wrong type definition of StepOptions.scrollTo#494
RobbieTheWagner merged 1 commit intoshipshapecode:masterfrom
moxival:master

Conversation

@moxival
Copy link
Contributor

@moxival moxival commented Aug 9, 2019

Simple fix for the wrong type definition of StepOptions.scrollTo property

Fixes #490

* Should the element be scrolled to when this step is shown?
*/
scrollTo?: boolean;
scrollTo?: boolean | ScrollIntoViewOptions;
Copy link
Member

@RobbieTheWagner RobbieTheWagner Aug 9, 2019

Choose a reason for hiding this comment

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

ScrollIntoViewOptions is not defined. We'll need to add it as well, won't we?

Copy link
Member

Choose a reason for hiding this comment

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

Looks like this is built into TS, so should be okay.

@RobbieTheWagner RobbieTheWagner changed the title Fixes #490 Fix for the wrong type definition of StepOptions.scrollTo Aug 9, 2019
@RobbieTheWagner RobbieTheWagner merged commit 5e76bd0 into shipshapecode:master Aug 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Wrong type definition for scrollTo

2 participants