Overview

Open the experience builder in the Safari browser, and try to add components in the empty canvas(slot). After adding one component if we try to add another component it is not reflected in the canvas. If we select the component we can not open the prop form for the element.

Safari browser Version 18.0

safari browser issue image

Comments

shyam_bhatt created an issue. See original summary.

shyam_bhatt’s picture

Issue summary: View changes
jessebaker’s picture

Version: 0.1.0-alpha1 » 0.x-dev
StatusFileSize
new130.25 KB

I threw a couple of console logs in to see if this was a quick fix but sadly, so far as I can see on a cursory glance, it's not immediately obvious why this isn't working. I've described my findings in the attached image in case that allows someone else to pick this up.

wim leers’s picture

I wonder if this is related to Safari's/WebKit's aim to reduce tracking (see https://webkit.org/tracking-prevention/ + https://webkit.org/blog/category/privacy/) and is somehow being triggered for XB too, despite the domains clearly being identical 🤔 Maybe because we're using srcdoc, that's considered a separate domain?

i.e. perhaps setting <iframe allow=…> would fix this? 🤔 See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/iframe#allow.

Specifically, allow-same-origin: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/iframe#allow-s...

soaratul’s picture

I tried allow-same-origin and forceFallback, as mentioned here in this sortablejs issue thread here but none worked 😞

jessebaker’s picture

Sadly I've just confirmed that this issue still exists after the work to move the iFrame interactions into an overlay (#3475759: Implement a different approach to the iFrame preview interactions) as it is related to the <IFrameSwapper> and the sortableJS implementation inside the iFrame neither of which have been substantially changed.

tedbow’s picture

Issue tags: +stable blocker

It seems like we should at the very least document, possibly with a in UI warning if you are using Safari before stable

jessebaker’s picture

Status: Active » Closed (outdated)
Issue tags: -stable blocker

It looks like the move away from SortableJS has magically solved this one for us!