usablica / intro.js

Lightweight, user-friendly onboarding tour library
http://introjs.com
Other
22.79k stars 2.59k forks source link

Option not fade background #1219

Open sdraper69 opened 3 years ago

sdraper69 commented 3 years ago

Description

No background overlay / fading

Expected Behavior

I want to be able to just show the pop up and the box that highlights the element but not dim the screen

Actual Behavior

Always has the overlay. If i turn off (manually) the box shadow that generates the shading, then the box around the element is no longer highlighted

Environment (optional)

all/latest

Polarisation commented 1 year ago

In the meantime, a workaround is to override the box-shadow style like this:

.introjs-helperLayer {
    box-shadow: rgb(33 33 33 / 80%) 0px 0px 1px 2px !important;
}