You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
macOS 27 Safari doesn't work with Node-RED v5.0.7 #5965
Switching between flow tabs results in the entire page being reloaded and the interface returns to the first/main flow tab. As shown in the attached video. Don't know if this can be fixed on the Node-Red. I also submitted an Apple bug report.
I can confirm that this issue is not limited to macOS. I am seeing the same behaviour on an iPad running iPadOS 27 with Safari 27.
Behaviour
When the Node-RED editor is open and I tap another flow tab:
Instead of switching to the selected flow, Safari reloads the entire Node-RED editor page.
After the reload, the editor returns to the first/main flow tab.
Repeating the attempt to switch tabs can trigger the same full-page reload again.
This looks essentially identical to the behaviour shown in the video in the original report.
So the problem also affects Safari/WebKit on iPadOS 27, not just Safari 27 on macOS. That may help narrow this down to a Safari/WebKit 27 change rather than something macOS-specific.
If there is any specific test, browser console output, or Node-RED editor diagnostic information that would help isolate the problem, I can try to provide it from the iPad.
Hi! I updated to Node-RED 5.0.9, which includes #5992.
Immediately after the update and automatic restart, the editor worked correctly on the first opening. However, on subsequent openings the original behaviour returned: switching to another flow tab causes the entire editor page to reload and it returns to the first flow tab.
So unfortunately the issue is not fully resolved by the Monaco 0.57.0 update. I am still seeing it on iPadOS 27 with Safari 27.
I investigated this issue further and found a possible direction worth testing.
In packages/node_modules/@node-red/editor-client/src/js/ui/workspaces.js, the workspace switching logic directly modifies window.location.hash:
window.location.hash='flow/'+tab.id;
There is also a second assignment that clears the hash.
Given that:
The problem persists after upgrading Monaco to 0.57.0.
Switching to ACE does not eliminate the page reload.
The issue affects multiple Node-RED versions.
Safari 27 reloads the entire editor when switching flow tabs.
I suspect the remaining issue may be related to Safari 27/WebKit's handling of URL fragment navigation rather than Monaco itself.
Suggested investigation:
Could we test replacing the direct location.hash assignments with the History API (history.pushState() or history.replaceState()) to determine whether this prevents the full-page reload?
This would require checking compatibility with existing hashchange handlers, browser Back/Forward navigation, and initial flow selection.
I have not verified this as a fix, but it seems like a relatively focused way to isolate the cause without requiring HTTPS or changing the user's deployment configuration.
Hopefully this helps narrow down the Safari 27 regression.
Update: The proposed workaround works! Confirmed on Node-RED 5.0.9 with Safari 27 on iPadOS 27.
I tested the hypothesis directly against my running Node-RED installation.
In both red.js and red.min.js, I replaced the workspace-switching assignment:
Activity
bonanitech commentedon Sep 20, 2026
@ashokaiyar, check this out.
https://discourse.nodered.org/t/odd-behaviour-or-error-with-safari-27-on-mac/101788
ashokaiyar commentedon Sep 20, 2026
@bonanitech
Thank you! I just found that earlier today - don't know how I missed it last night.
AdamVR7 commentedon Oct 3, 2026
I can confirm that this issue is not limited to macOS. I am seeing the same behaviour on an iPad running iPadOS 27 with Safari 27.
Behaviour
When the Node-RED editor is open and I tap another flow tab:
This looks essentially identical to the behaviour shown in the video in the original report.
So the problem also affects Safari/WebKit on iPadOS 27, not just Safari 27 on macOS. That may help narrow this down to a Safari/WebKit 27 change rather than something macOS-specific.
If there is any specific test, browser console output, or Node-RED editor diagnostic information that would help isolate the problem, I can try to provide it from the iPad.
knolleary commentedon Oct 14, 2026
This should be resolved in our next maintenance release. #5992
AdamVR7 commentedon Oct 22, 2026
Hi! I updated to Node-RED 5.0.9, which includes #5992.
Immediately after the update and automatic restart, the editor worked correctly on the first opening. However, on subsequent openings the original behaviour returned: switching to another flow tab causes the entire editor page to reload and it returns to the first flow tab.
So unfortunately the issue is not fully resolved by the Monaco 0.57.0 update. I am still seeing it on iPadOS 27 with Safari 27.
ashokaiyar commentedon Oct 22, 2026
Issue also persists with Safari 27 on macOS 27.
LavalControl commentedon Oct 26, 2026
I'm running Safari 27 and a variety of Nodered including 3.1.0 on an old pi, plus 5.0.8 on a NUC and I have the problem.. clear on Chrome...
AdamVR7 commentedon Oct 26, 2026
I investigated this issue further and found a possible direction worth testing.
In
packages/node_modules/@node-red/editor-client/src/js/ui/workspaces.js, the workspace switching logic directly modifieswindow.location.hash:There is also a second assignment that clears the hash.
Given that:
I suspect the remaining issue may be related to Safari 27/WebKit's handling of URL fragment navigation rather than Monaco itself.
Suggested investigation:
Could we test replacing the direct
location.hashassignments with the History API (history.pushState()orhistory.replaceState()) to determine whether this prevents the full-page reload?This would require checking compatibility with existing
hashchangehandlers, browser Back/Forward navigation, and initial flow selection.I have not verified this as a fix, but it seems like a relatively focused way to isolate the cause without requiring HTTPS or changing the user's deployment configuration.
Hopefully this helps narrow down the Safari 27 regression.
Update: The proposed workaround works! Confirmed on Node-RED 5.0.9 with Safari 27 on iPadOS 27.
I tested the hypothesis directly against my running Node-RED installation.
In both
red.jsandred.min.js, I replaced the workspace-switching assignment:with the equivalent History API operation:
(The minified file was patched using its corresponding variable names.)
Result: Switching between flow tabs now works normally. Safari no longer reloads the entire Node-RED editor or returns to the first tab.
No HTTPS, reverse proxy, Node-RED configuration changes, or server restart were required.
Only the workspace-switching assignment was changed. The other
location.hashreferences were left untouched.This provides experimental evidence that Safari 27's handling of fragment navigation is involved in the regression.
The change is not yet a fully tested upstream fix; browser history behavior and other navigation scenarios should still be verified.
Hopefully this gives the maintainers a concrete, reproducible fix candidate for #5965.