Skip to content

Reposition spotlight and tooltip as target changes position #963

Closed Answered by gilbarbara
romankoho asked this question in Q&A
Discussion options

You must be logged in to vote

Hey @romankoho

The simplest and most elegant solution would be to delay the initialization until the page is fully rendered.

Otherwise, you could dispatch a resize event after the position of the elements changes but it wouldn't look so good.

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by gilbarbara
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
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