From 1a56139fb8875252f86fe25f8d597c864b5051fd Mon Sep 17 00:00:00 2001 From: melloware Date: Fri, 16 Sep 2022 07:42:53 -0400 Subject: [PATCH] Fix #3331: Overlay flickering fix --- components/lib/dialog/Dialog.css | 5 ----- components/lib/overlaypanel/OverlayPanel.css | 4 ---- components/lib/sidebar/Sidebar.css | 5 ----- 3 files changed, 14 deletions(-) diff --git a/components/lib/dialog/Dialog.css b/components/lib/dialog/Dialog.css index 4e1a6072dd..87a3c57bab 100644 --- a/components/lib/dialog/Dialog.css +++ b/components/lib/dialog/Dialog.css @@ -16,11 +16,6 @@ display: flex; } -/* Github #3122: Prevent animation flickering */ -.p-dialog:not([class*='p-dialog-']) { - display: none; -} - .p-dialog-mask.p-component-overlay { pointer-events: auto; } diff --git a/components/lib/overlaypanel/OverlayPanel.css b/components/lib/overlaypanel/OverlayPanel.css index fc2421f09e..045b672c2f 100644 --- a/components/lib/overlaypanel/OverlayPanel.css +++ b/components/lib/overlaypanel/OverlayPanel.css @@ -3,10 +3,6 @@ margin-top: 10px; } -/* Github #3122: Prevent animation flickering */ -.p-overlaypanel:not([class*='p-overlaypanel-']) { - display: none; -} .p-overlaypanel-flipped { margin-top: 0; diff --git a/components/lib/sidebar/Sidebar.css b/components/lib/sidebar/Sidebar.css index 7cbf9eef4b..69e44f36bd 100644 --- a/components/lib/sidebar/Sidebar.css +++ b/components/lib/sidebar/Sidebar.css @@ -16,11 +16,6 @@ display: flex; } -/* Github #3122: Prevent animation flickering */ -.p-sidebar:not([class*="p-sidebar-"]){ - display: none; -} - .p-sidebar-mask.p-component-overlay { pointer-events: auto; }