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

Adding a maximumSize to a step changes the orientationDirection #144

Open
eltongonc opened this issue Jun 22, 2023 · 0 comments
Open

Adding a maximumSize to a step changes the orientationDirection #144

eltongonc opened this issue Jun 22, 2023 · 0 comments

Comments

@eltongonc
Copy link

eltongonc commented Jun 22, 2023

Reading through the documentation I see the following part:

interface OrientationConfiguration {
    /** Where the tour step will appear next to the selected element */
    orientationDirection: Orientation,
    /** When this orientation configuration starts in pixels */
    maximumSize?: number
}

But when I add the following code to my step, the step will move from right to the top of the element:

orientation: [
        {
          orientationDirection: 'right',
          maximumSize: 400,
        },
      ],
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