Open wilsonwong13 opened 9 months ago
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
parent.addEventListener("click", pageClickHandler);
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