Closed (fixed)
Project:
Display Builder
Version:
1.0.x-dev
Component:
UI/UX/Islands
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
25 Oct 2026 at 08:36 UTC
Updated:
11 Nov 2026 at 07:46 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #3
pdureau commentedComment #4
csakiistvanComment #5
csakiistvan✅ Tested and works — before the fix, Undo reopened a closed settings sidebar; after applying MR !512 and rebuilding caches, Undo and Redo in a page layout builder leave the closed sidebar closed, and it still opens manually on request. The history steps no longer force the sidebar open.
Notes
data-trigger-node-idis already set before the redo, andhtmxReady()may resolve before the refresh click fires, so the new step may pass without the fix; waiting for a refresh signal (e.g. the Label value) before assertingis-collapsedwould make it fail reliably.data-refresh-node-idis only cleared in theclickbranch ofhandleSecondDrawer(); passing the refresh intent explicitly (e.g. a'refresh'type, astriggerSingleClick()inpanel_tree.jsdoes) would avoid a leftover flag.Comment #6
pdureau commentedThanks you so much.
If you want to propose the 2 non-blocking changes, and if you believe it will be a small and safe change, you can assign the ticket to you and add a commit to the MR.
Comment #7
csakiistvanComment #8
csakiistvan@pdureau Pushed both non-blocking changes: the history refresh now passes its intent on the click event instead of a DOM flag, and the test waits for the refresh request before asserting the drawer stays collapsed (it fails without the fix). Pipeline is green.
Comment #9
pdureau commentedThanks a lot
Comment #11
mogtofu33 commentedTo be more precise the bug is only when using the close cross, not the toolbar button for the sidebar.
Thanks for the MR.
Comment #13
pdureau commentedShipped in beta10 release.