Skip to content

Scrolling to an element causes modal overlay to appear in wrong place #319

@rswheeldon

Description

@rswheeldon

If I set up a tour with the following

    let tour = new Shepherd.Tour({
      useModalOverlay: true,
      defaultStepOptions: {
        scrollTo: true
      }
    })

And have a step in the tour which requires scrolling, then the window scrolls so the element is visible but puts the mask in the place which would have covered the element in its previous position.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions