Skip to content

[Q/A] How to anchor a CSUI without requiring the user to scroll #248

Answered by louisgv
callmekatootie asked this question in Q&A
Discussion options

You must be logged in to vote

Try using this method: https://docs.plasmo.com/browser-extension/content-scripts-ui#watchoverlayanchor

The scroll event is a naive implementation and the easiest to trigger for most case when mounting overlay csui, but you can provide your own observer/watcher

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@callmekatootie
Comment options

@louisgv
Comment options

Answer selected by louisgv
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
documentation Improvements or additions to documentation
2 participants
Converted from issue

This discussion was converted from issue #246 on October 04, 2022 00:36.