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

Dropdown breaks when iframe #1875

Open
wilsonwong13 opened this issue Jan 2, 2024 · 0 comments
Open

Dropdown breaks when iframe #1875

wilsonwong13 opened this issue Jan 2, 2024 · 0 comments

Comments

@wilsonwong13
Copy link

wilsonwong13 commented Jan 2, 2024

Running into an issue with using the dropdown component that is iframe. Running into this issue

  • Failed to read a named property 'addEventListener' from 'Window': Blocked a frame with origin "http://localhost:8080" from accessing a cross-origin frame

Most likely from this code - parent.addEventListener("click", pageClickHandler); - https://github.com/carbon-design-system/carbon-components-svelte/blob/16007759681015f3b58cd1df590403d6b695aa74/src/Dropdown/Dropdown.svelte#L163C6-L163C58

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