Skip to content

[BUG] HeroUI doesn't work on contentscript #1180

Open
@RobertChaw

Description

@RobertChaw

What happened?

The Modal component from heroui does not open on content script. This may be due to incorrect handling of dynamic imports.

Reproduction Playground
https://github.com/RobertChaw/heroui-not-work-on-contentscript

Image

Image

Image

Version

Latest

What OS are you seeing the problem on?

Windows

What browsers are you seeing the problem on?

Chrome

Relevant log output

Uncaught (in promise) Error: Cannot find module '23bSo'
    at newRequire (contents.85aba5ab.js:62:19)
    at Function.newRequire (contents.85aba5ab.js:46:18)
    at contents.85aba5ab.js:49263:27

(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