Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: sizing of workspaceAdd #3821

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

fstoe
Copy link

@fstoe fstoe commented Nov 28, 2023

When using the M3 Viewer with the workspaceControlPanel set to false and placed next to a custom sidebar (allowing custom actions and triggering the Mirador catalog view), the fixed sizing of the drawer component and the workspaceAdd div results in the drawer overlapping the sidebar

oldBehavoirWithoutFix_cutupsidebar.webm
customSidebar_fixed.webm

@codecov-commenter
Copy link

codecov-commenter commented Nov 28, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 94.52%. Comparing base (05194d8) to head (f44f59b).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #3821   +/-   ##
=======================================
  Coverage   94.52%   94.52%           
=======================================
  Files         313      313           
  Lines       14767    14778   +11     
  Branches     2496     2499    +3     
=======================================
+ Hits        13958    13969   +11     
  Misses        804      804           
  Partials        5        5           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@gerdesque gerdesque requested a review from lutzhelm December 19, 2024 15:50
@@ -59,7 +59,7 @@ export function WorkspaceArea({
>
{
isWorkspaceAddVisible
? <WorkspaceAdd />
? <WorkspaceAdd isWorkspaceControlPanelVisible={isWorkspaceControlPanelVisible} />
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Was this change actually intented? I don't see that isWorkspaceControlPanelVisible is being used in WorkspaceAdd.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants