limel-dialog: if the button
slot is empty when the component is created, it will never be shown, even if populated later
#2754
Labels
bug
Something isn't working
Found while helping @simonedeblasio debug, as described in this forum thread (internal link).
Current behavior
Steps to reproduce the behavior:
slot="button"
.slot="button"
set.Result: the element with
slot="button"
is not shown, because the dialog has no footer, and thus no slot to show it in.Expected behavior
The element with
slot="button"
should be shown in the dialog's footer. This happens because oflime-elements/src/components/dialog/dialog.tsx
Line 112 in b3d5d2f
Environment
The text was updated successfully, but these errors were encountered: