Open goetsu opened 3 years ago
Hey @goetsu ! Thanks for opening the issue. I didn't quite understand the description of the issue. Do you want to clarify what you meant?
I did however understand your point about the visibility: hidden
. I think you make a good point about this.
sorry I updated the description the code part was missing
Describe the bug by default the hidden panel of the collapse component is generated like
<div data-chakra-component="CCollapse" style="overflow: hidden; opacity: 0; height: 0px; visibility: visible;">
To Reproduce Steps to reproduce the behavior:
Expected behavior when not visible the panel must be hidden with visibility:hidden like :
<div data-chakra-component="CCollapse" style="overflow: hidden; opacity: 0; height: 0px; visibility: hidden;">
This will also fix existing issue of having hidden panel read by screenreader
Desktop (please complete the following information):