Skip to content

Component for onboarding tour popovers? #1199

Answered by sampl
sampl asked this question in Ideas
Discussion options

You must be logged in to vote

FWIW I ended up doing this:

  • Use a radix popover with modal="true"
  • Add a raw div for the backdrop (not a Radix Dialog.Overlay, just a styled div) and only render it if the popover is open
  • For the thing I want to appear "above" the backdrop: give it a z-index: 99999; but only when the popover is open

I can make a codepen later if yall want it

EDIT: Codepen here: https://codesandbox.io/s/festive-grass-21wlxo

Replies: 3 comments 11 replies

Comment options

You must be logged in to vote
1 reply
@sampl
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
10 replies
@Code-Victor
Comment options

@sampl
Comment options

@Code-Victor
Comment options

@itiurin-doto
Comment options

@sampl
Comment options

Answer selected by sampl
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
6 participants