PlasmoHQ / plasmo

🧩 The Browser Extension Framework
https://www.plasmo.com
MIT License
10.59k stars 369 forks source link

[RFC] Allow customization of the overlay's position relative to anchor element in CSUI #1071

Open shinobu-uwu opened 2 months ago

shinobu-uwu commented 2 months ago

How do you envision this feature/change to look/work like?

Instead of always rendering the component in the top left corner of the anchor it would be nice to be able to select in which corner the component will be rendered.

What is the purpose of this change/feature? Why?

This allows for better customization and some applications, like password managers that have inline autofill (check image below for example), need this type of customization

It's not that hard to implement at application level, but would be nice if the framework provided this

image

(OPTIONAL) Example implementations

No response

(OPTIONAL) Contribution

Verify canary release

Code of Conduct