getsentry/spotlight

fullPage opens Spotlight immediately without correct styles

Closed this issue · 1 comments

Environment

"@spotlightjs/spotlight": "^1.2.13"

Steps to Reproduce

  1. Set fullPage: true,
if (process.env.NODE_ENV === 'development') {
  Spotlight.init({
    fullPage: true,
  })
}
  1. Isn't position: fixed
  2. Opens immediately (as if openOnInit was implicitly true)

Expected Result

Screenshot 2024-02-26 at 5 29 59 PM Screenshot 2024-02-26 at 5 30 34 PM

Actual Result

Screenshot 2024-02-26 at 5 26 42 PM

Closed because I'm an idiot – didn't see the TypeScript tip for it:

Screenshot 2024-02-26 at 7 20 56 PM

Assumed it was a presentational thing, vs. standalone.