Polaris React Popover no longer working (local dev)

When trying to trigger the existing Popover, I get the following error in my dev environment.

Uncaught SecurityError: Failed to read a named property ‘$$typeof’ from ‘Window’: Blocked a frame with origin “[cloudflare url]” from accessing a cross-origin frame.

It still works with deployed apps.

The new s-popover is working fine. The problem is I have no manual way to trigger the new popovers.

Is there an undocumented functionality I’m missing here?

1 Like

@e-r-i-c Did you find a solution for the popover?

Sorry, ^ replied about another post.

No I haven’t figured out a solution. Spent some time. I’m using the new popovers and building everything from scratch now.

I would think someone re-building all of the existing components and making it open source could be a really good idea, especially if you were a Shopify agency :wink: :wink: .

Hello @e-r-i-c ,

Thanks for the reply.

Could you please provide me with a little bit more info about the new popovers you mentioned?

I have spent a lot of time figuring out the error, but it didn’t help me.

Looking forward to your response.

I also have spent alot of time trying to figure this out. Gave in. I’m using modals with s-popover now. The previous Popover component does not work.

The only problem is triggering the new s-popover programmatically requires this workaround:

Good luck.