You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I have some issues with responsiveness when using CSS grid and I put charts on it. Searching further, my problem should be equivalent to charts do not get notified for parent size changes and do get notified only for window size changes.
I found this closed issue #3984 and the last comment mentions to open a new related one. From reading the comments there, the problem was:
there is no way to be notified when an element changes size
Since some time has passed and ResizeObserver is well supported from what I'm checking, I think this is an addressable issue. On this comment of issue #3984 is a proof of principle (or/and workaround) using ResizeObserver and I had already created an example in codepen that demonstrates my issue. Also issue #5396 seems to be related I believe.
In codepen example I do use version 2.34.0 which is the current latest, to remember it instead of putting just latest. I did enable template so anyone can test it with other versions if needed.
Available to provide further details when/if necessary.
The text was updated successfully, but these errors were encountered:
gvwilson
changed the title
Responsive config option does not apply on elements size changes.
Responsive config option does not apply on elements size changes
Aug 9, 2024
Hello, I have some issues with responsiveness when using CSS grid and I put charts on it. Searching further, my problem should be equivalent to charts do not get notified for parent size changes and do get notified only for window size changes.
I found this closed issue #3984 and the last comment mentions to open a new related one. From reading the comments there, the problem was:
Since some time has passed and ResizeObserver is well supported from what I'm checking, I think this is an addressable issue. On this comment of issue #3984 is a proof of principle (or/and workaround) using ResizeObserver and I had already created an example in codepen that demonstrates my issue. Also issue #5396 seems to be related I believe.
In codepen example I do use version 2.34.0 which is the current latest, to remember it instead of putting just latest. I did enable template so anyone can test it with other versions if needed.
Available to provide further details when/if necessary.
The text was updated successfully, but these errors were encountered: