Closed
Description
If element starts off as display: hidden
, then revealed by setting style.display = "block"
the sensor triggers fine.
However, if element is initially visible, then hidden by setting style.display = "none"
, then shown back on style.display = "block"
, the sensor does not trigger.
This seems like an inconsistency, as in both cases actual size changed (since hidden elements do not have size).
Example:
https://codepen.io/team/amcharts/pen/9f21d956ae4391ef918c21670b62f806?editors=0010
Metadata
Metadata
Assignees
Labels
No labels