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 31, 2022
1 parent 9ff9ce8 commit 00f5890
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
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
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
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 00f5890

Please sign in to comment.