The community members are discussing whether it is possible to use the hamburger icon in the Radix Sheet component as a toggle rather than the dedicated 'close button'. The comments suggest that while it is technically possible, it may not be the recommended approach due to accessibility concerns. Some community members suggest positioning the overlay without covering the hamburger icon, increasing the z-index of the hamburger icon, or rendering a separate hamburger icon on the dialog as a toggle. However, the consensus seems to be that these are not ideal solutions and the recommended approach is not clear from the discussion.
you would either need to position overlay without covering, or make the hamburger z-index be higher than overlay or just render another hamburger on the dialog instead of close button and treat it like a toggle
If i know what properties the close button has or what actually triggers it , i can probably do this in JS but I can't see within the editor what properties the close button has