cms icon indicating copy to clipboard operation
cms copied to clipboard

[5.x]: Active tab in multi-tab fields resets after saving entry in CP

Open FalkoJoseph opened this issue 8 months ago • 0 comments

What happened?

Image

Description

When editing an entry that contains a field with multiple tabs, switching to a different tab and saving the entry causes the editor to reset to the default tab.

This disrupts the workflow, as users must manually scroll down and re-select the tab they were working in after each save. Ideally, the editor should remember and restore the active tab position after saving, allowing users to continue editing seamlessly without interruption.

Steps to reproduce

  1. Add multiple tabs to a field
  2. Add this field to an entry on your page or post
  3. Open the page or post editor in the CP
  4. Switch to a different tab in your field
  5. Save and continue (cmd+s -> Mac)

Expected behavior: keep the current tab(s) open, and remember their position.

Actual behavior

Right now when you go to a tab within your page and hit save, you have to scroll down and switch to that tab again to make changes. (see the GIF video above)

Craft CMS version

5.7.10

PHP version

8.3

Operating system and version

No response

Database type and version

No response

Image driver and version

No response

Installed plugins and versions

No response

FalkoJoseph avatar Jun 15 '25 17:06 FalkoJoseph