sidebar-card icon indicating copy to clipboard operation
sidebar-card copied to clipboard

'hideOnPath' and 'Back' button

Open RASBR opened this issue 2 years ago • 2 comments

I use Mushroom Back Chip on my dashboards. When I go to a page that has ''hideOnPath" the sidebar disappears as it shoul. But when I hit the 'Mushroom Back button it doesn't show up again!!.

I don't know if this is normal, but thought to share. Regards,

RASBR avatar Oct 21 '22 15:10 RASBR

I noticed the same on subviews and the default back-button in the top menu. The sidebar only shows up again after refreshing the page. While checking in the debugger, I noticed that the back button doesn't trigger a "location changed" event, that is currently used to show/hide the sidebar.

-- edit -- Workaround: Setting an explicit back_path on the subview shows the sidebar again after going back.

CSchlipp avatar Jan 06 '24 19:01 CSchlipp