When the sidebar is opened, the user can still interact with the document even though some of it is covered. Instead, I would expect the app to behave in one of two ways:
- When sidebar is opened, it pushes the document to the right and the document can be interacted with.
- When the sidebar is opened, it covers the document, and clicking into the document closes the sidebar