sliding-panes-obsidian icon indicating copy to clipboard operation
sliding-panes-obsidian copied to clipboard

When Sliding Panes toggled off, Undo Close Pane breaks UI

Open josephdong1000 opened this issue 3 years ago • 2 comments

Title. When setting to toggle Sliding Panes is turned off (Plugin Options > Sliding Panes > Toggle Sliding Panes), the Undo Close Pane command will open a new pane on the far right of the screen and completely cover up the right toolbar (see screenshot). This doesn't happen when Sliding Panes is completely deactivated (Community Plugins > Sliding Panes). The images below show what I mean.

I'm guessing this is because the Undo Close Pane bypasses the "normal" way of opening an instance of a note, so Sliding Panes kicks in (and opening the note as if it was on).

UI before Undo: sliding panes before undo

UI after Undo: sliding panes after undo

josephdong1000 avatar Nov 08 '21 19:11 josephdong1000

I run into this issue all the time as well. It seems when Sliding Panes is turned off it doesn't reset the pane width and positioning.

kepano avatar Jan 05 '22 17:01 kepano

Still seems to be an issue. I end up toggling between edit and read mode and/or close open a window and that seems to reset it. But that does seem like something that should be a priority to fix. It breaks the great functionality of the plugin.

Chr9sG avatar Feb 27 '22 01:02 Chr9sG