-
Notifications
You must be signed in to change notification settings - Fork 593
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 1810568: set panel state to hidden after animation and when drawer is closed #4686
Conversation
@jcaianirh: This pull request references Bugzilla bug 1810568, which is valid. The bug has been moved to the POST state. The bug has been updated to refer to the pull request using the external bug tracker. 3 validation(s) were run on this bug
In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
@jcaianirh: This pull request references Bugzilla bug 1810568, which is valid. 3 validation(s) were run on this bug
In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: jcaianirh The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/test e2e-gcp-console |
Hey @jcaianirh I'd rather wait for an upstream fix to be honest. Setting the drawer hidden immediately means the animation doesn't happen? That sounds like a PF bug. |
@spadgett sounds good. I created the issue in pf. We can wait for that fix I just created this in case we wanted an interim solution. |
@@ -288,7 +312,8 @@ export const ConnectedNotificationDrawer_: React.FC<ConnectedNotificationDrawerP | |||
<NotificationDrawer | |||
className="co-notification-drawer" | |||
isInline={isDesktop} | |||
isExpanded={isDrawerExpanded} | |||
isExpanded={isDrawerExpanded && !isDrawerAnimating} | |||
isDrawerHidden={isDrawerHidden} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm confused... There are separate isExpanded
and isDrawerHidden
props? What is the difference between those?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@spadgett Yea, so this will go away when the actual component fix is completed, but the idea is that the panel component is set to hidden when it finishes animation so the focus doesn't expose the closed panel. When the drawer is fixed, this can be removed.
/hold |
closing this in favor of css only fix here: #5577 |
Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1810568
Until bug is fixed on pf react component. Reference for pf bug: https://github.com/patternfly/patternfly-react/issues/3887
cc: @jeff-phillips-18