Closed woniesong92 closed 2 years ago
Not everyone needs all parts of the compose to be ready when this event fires, so I don't think there's any concrete spec or behaviour we can say is "most correct" here.
Alternatively, I could wait for compose.dom.body() to not be undefined, which works for my usecase.
As such, this would be my suggestion too.
issue
compose
event fires before the content inside the compose element is ready.repro steps
attempts to fix
document.readyState
to becomecomplete
frominteractive
. However, the compose element is still not ready by then. Alternatively, I could wait forcompose.dom.body()
to not beundefined,
which works for my usecase.