Skip to content

[BUG] querySelector and querySelectorAll not working within <plasmo-csui> element #1147

@smilingkylan

Description

@smilingkylan

What happened?

For some reason when I use getInlineAnchorList to mount components in the shadow dom, they apparently are not able to be queried with a simple document.querySelector. Please see attached videos.

query-selector-fail.mov
query-selector-fail-2.mov

Version

Latest

What OS are you seeing the problem on?

MacOSX

What browsers are you seeing the problem on?

Chrome

Relevant log output

See attached videos

(OPTIONAL) Contribution

  • I would like to fix this BUG via a PR

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

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions