Quickly toggling the visibility of a component causes measureElement
to return NaN
until the next rerender
#557
Labels
measureElement
to return NaN
until the next rerender
#557
I managed to narrow down the issue to this repro:
This lets you toggle two states.
One (toggled with T) shows or hides an element that measures its own size using
measureElement
.The other (toggled with F) changes how the visibility of an element is toggled - either simply on / off, or "on-off-on" / "off-on-off". The latter will cause the measured element to think it has a size of
NaN
.Here's a video demonstrating the issue:
ink-repro-1678791145851.mp4
The text was updated successfully, but these errors were encountered: