Skip to content

How to change the mask styles height and width, instead fullscreen in <TourProvider> component? #656

@caturbgs

Description

@caturbgs

How to achieve the mask style width and height instead of the default value fullscreen using the Tour component? I'm using the Tour component to easier dynamically set up the layout. AFAIK you can use custom component Mask but i'm afraid it can't be setup dynamically like in Tour component.

After digging the down rendered HTML using Tour component, I've found the rendered mask is always full screen setup inside the svg element here.
image

Is there any way to custom the height and width of Mask, I want to create mask like rounded and with custom size like this.
image

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions