Skip to content

[RFC] Lower z-index of plasmo-shadow-container #1343

@korsun

Description

@korsun

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

Default z-index of #plasmo-shadow-container is 2147483647 which is the highest value possible, which also means it's not overridable. Why not make it less. 50_000, or 100_000, or basically whatever will be quite safe.

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

Honestly, I haven't tinkered around Plasmo: currently I'm dealing with a side integration into our system which uses it. We have a problem where their elements in Plasmo container are overriding everything on the page. I'm pretty sure z-index can be changed by developers and I will contact them — but my point is, nowadays, more and more people use vibe-coding without real understanding how things work in browser; having a safe default z-index will make everything better.

(OPTIONAL) Example implementations

No response

(OPTIONAL) Contribution

  • I would like to contribute to this RFC via a PR

Verify canary release

  • I verified that the issue exists in plasmo canary release

Code of Conduct

  • I agree to follow this project's Code of Conduct
  • I checked the current issues for duplicate problems.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions