Skip to content

How Do You Position Popover-like Components Relative to the Viewport Without Using Portal? #2584

Closed Answered by segunadebayo
elson-currentcorp asked this question in Q&A
Discussion options

You must be logged in to vote

There are two options:

  • Using position:fixed on the content
  • Setting positioning.fixed to true to the root
  • Using portal but setting the portal container to the root portal content

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by elson-currentcorp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants