Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Usage in module #220

Open
musaffarpatel opened this issue Aug 23, 2023 · 0 comments
Open

Usage in module #220

musaffarpatel opened this issue Aug 23, 2023 · 0 comments

Comments

@musaffarpatel
Copy link

musaffarpatel commented Aug 23, 2023

Is it possible to use this a module which uses Symfony pages for the back office without having to compile anything via npm?

If I add a component to my twig template, it seems to render as expected, however JS does not seem to work on it, for example, toggling behaviours do not work.

For example, when using a dropdown button and the button is clicked, the following JS error appears in the browser:

main.bundle.js:629 Uncaught (in promise) TypeError: Cannot read properties of null (reading 'ownerDocument')
at P (main.bundle.js:629:6759)
at F (main.bundle.js:629:7163)
at e.W (main.bundle.js:629:8375)
at e.value (main.bundle.js:629:20374)
at main.bundle.js:629:346

Am I missing something?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant