I have a site with 50+ acf-fields for a specific post type.
To organise those fields, I’ve setup several ACF tabs.
ACF Pro has this nice feature that when you save or reload the the page you go back to the tab you’ve last opened. But that doesn’t work when I save a post.
I see there is a function in acf-input.js line 4555 that sets the tab state on an beforeUnload event.
acf.setPreference('this.tabs', order);
When I set an event listener on the function I see that it gets called when i refresh the site, but not when I save the post.
Wouldn’t it be better to just update the localStorage on tab change? That wouldn’t block the reload/submit action