Usage of .spectrum-Dialog--dismissable and its button.spectrum-Dialog-closeButton element are not compatible with .spectrum-Dialog--fullscreen* and it should be documented as such.
Currently, there are no documented usage of this combination. However, when users use these in concert the patterns are delivered in a less than palatable fashion. https://github.com/adobe/spectrum-web-components/issues/1088 We should explicitly outline that these should not be used together.
We might also want to discuss defensively coding them out of the system. This is done in the latest code for the way that .spectrum-Dialog--dismissable will not allow the presentation of .spectrum-Dialog-buttonGroup content.
Description
Usage of
.spectrum-Dialog--dismissable
and itsbutton.spectrum-Dialog-closeButton
element are not compatible with.spectrum-Dialog--fullscreen*
and it should be documented as such.Currently, there are no documented usage of this combination. However, when users use these in concert the patterns are delivered in a less than palatable fashion. https://github.com/adobe/spectrum-web-components/issues/1088 We should explicitly outline that these should not be used together.
Link to documentation
https://opensource.adobe.com/spectrum-css/dialog.html
Additional context
We might also want to discuss defensively coding them out of the system. This is done in the latest code for the way that
.spectrum-Dialog--dismissable
will not allow the presentation of.spectrum-Dialog-buttonGroup
content.