Skip to content

Combobox with multi-select and vertical content Uncaught SecurityError Dev Enviroment #14183

@mariosdimpan

Description

@mariosdimpan

Summary

Hello all,

3 days now (from 27/10) i am encountering the following problem when i am using Combobox component.

When i press the combobox so popover can open and get the values that it has or select new i am getting the following error.

`react-dom_client.js?v=81d1cc64:2954 Uncaught SecurityError: Failed to read a named property '$$typeof' from 'Window': Blocked a frame with origin "https://example.com" from accessing a cross-origin frame.

at addObjectToProperties (react-dom_client.js?v=81d1cc64:2954:65)
at addValueToProperties (react-dom_client.js?v=81d1cc64:3058:29)
at addObjectToProperties (react-dom_client.js?v=81d1cc64:2954:65)
at addValueToProperties (react-dom_client.js?v=81d1cc64:3058:29)
at addObjectToProperties (react-dom_client.js?v=81d1cc64:2954:65)
at addValueToProperties (react-dom_client.js?v=81d1cc64:3058:29)
at addObjectDiffToProperties (react-dom_client.js?v=81d1cc64:3141:17)
at logComponentRender (react-dom_client.js?v=81d1cc64:3177:133)
at commitPassiveMountOnFiber (react-dom_client.js?v=81d1cc64:11048:51)
at recursivelyTraversePassiveMountEffects (react-dom_client.js?v=81d1cc64:11010:13)`

Where example.com is the url of the tunnel i am running locally to run the shopify app for development.

Also it focuses the input.

On product/staging enviroments i don't have this issue.

It was fine until 3 days ago.

I also got the example from here https://polaris-react.shopify.com/components/selection-and-input/combobox?example=combobox-with-multi-select-and-vertical-content without modifying it and still getting the issue.

Expected behavior

It should open the popover.

Actual behavior

It doesn't open the popover and i am getting above error on console. This happens only in dev enviroment locally and not on staging/production.

Steps to reproduce

Link to sandbox
1.
2.
3.

Are you using React components?

Yes

Polaris version number

13.9.5

Browser

chrome

Device

mac mini

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething is broken and not working as intended in the system.untriaged

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions