-
Notifications
You must be signed in to change notification settings - Fork 371
Description
Describe the problem
A clear and concise description of the problem. Which components are affected?
I encountered an issue with my PR openshift/console#15077 where despite the hidden
attributeof
DrawerPanelContent` hiding the content, it still takes up space in the drawer main wrapper.
This causes cypress to try and scroll the drawer__main
element, breaking e2e testing:

How do you reproduce the problem?
Provide steps to reproduce. A codesandbox demonstrating the problem is appreciated.
https://www.patternfly.org/components/drawer/#resizable-on-inline
Expected behavior
A clear and concise description of the expected behavior.
DrawerPanelContent
takes up no height so that cypress can't scroll on it
Is this issue blocking you?
List the workaround if there is one.
In OCP we added display: none
when the drawer content is hidden, but that breaks the animation
Screenshots
If applicable, add screenshots to help explain the issue.

What is your environment?
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]
What is your product and what release date are you targeting?
Any other information?
Metadata
Metadata
Assignees
Labels
Type
Projects
Status