-
Notifications
You must be signed in to change notification settings - Fork 64
Closed
Labels
1. to developAccepted and waiting to be taken care ofAccepted and waiting to be taken care ofbugSomething isn't workingSomething isn't workingregressionRegression of a previous working featureRegression of a previous working feature
Description
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
- Open sidebar on Desktop
- Open viewer
- Change window's width
Expected behavior
-
When the sidebar's width is changing, viewer width is following the sidebar's border
Actual behavior
-
Sidebar watches the sidebar state change (open/close) but gets the sidebars width only once. When the window is resized

Additional info
-
The problem is that viewer doesn't take into account that the sidebar is not on the right border. There is a margin. It is easy to with using
var(--body-container-margin). Alternative solution could be to usegetBoundingClientRect. -
It seems, it is fixable using the window's
resizeevent.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
1. to developAccepted and waiting to be taken care ofAccepted and waiting to be taken care ofbugSomething isn't workingSomething isn't workingregressionRegression of a previous working featureRegression of a previous working feature

