Noticed this today, on clicking ‘save’ on the contextual save bar, the ‘leave site’ warning now pops up, this didn’t occur yesterday with no changes to the site.
here is our code
<ui-save-bar id="my_save_bar">
<button id="my_save_bar_save" variant="primary" onClick="doFormSubmit()"></button>
<button id="my_save_bar_reset" onClick="doFormReset()"></button>
</ui-save-bar>
...
function doFormSubmit() {
$('#my_save_bar_save').prop('disabled',true);
$('#my_save_bar_reset').prop('disabled',true);
$('#frmSettings').submit();
shopify.loading(true);
}
Cheers, seems to be resolved now.
Hi @Henry_Tao , seeing this error creep up again.
I have the same problem. When I use
window.open(myURL, '_blank');
to open a new tab, the save bar is triggered. This makes my preview button in the save bar becomes useless. Why has the save bar’s behavior changed? What’s happened?
@Benny_Chan @Min_Liu i’m also facing same issue again!
kir
May 29, 2026, 12:20pm
7
same issue now, not working
@Henry_Tao are you able to have a look at this one please it’s still occurring.
The issue happens again?
Why does the save bar have a conflict when calling window.open(URL, '_blank');
@Henry_Tao This error is still occurring, it’s been a while, are you able to provide an update on when this will be fixed please?
On Chrome: shows when you click save on the contextual save bar.