Skip to content

Commit

Permalink
Fix #3122: Dialog/Sidebar/Overlay default to hidden before animating
Browse files Browse the repository at this point in the history
  • Loading branch information
melloware committed Aug 5, 2022
1 parent 86637af commit b27a631
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
4 changes: 4 additions & 0 deletions components/lib/dialog/Dialog.css
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@
display: flex;
}

.p-dialog:not([class*='p-dialog-']) {
display: none;
}

.p-dialog-mask.p-component-overlay {
pointer-events: auto;
}
Expand Down
4 changes: 4 additions & 0 deletions components/lib/overlaypanel/OverlayPanel.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
margin-top: 10px;
}

.p-overlaypanel:not([class*='p-overlaypanel-']) {
display: none;
}

.p-overlaypanel-flipped {
margin-top: 0;
margin-bottom: 10px;
Expand Down
4 changes: 4 additions & 0 deletions components/lib/sidebar/Sidebar.css
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@
display: flex;
}

.p-sidebar:not([class*="p-sidebar-"]){
display: none;
}

.p-sidebar-mask.p-component-overlay {
pointer-events: auto;
}
Expand Down

0 comments on commit b27a631

Please sign in to comment.