How to detect when a panel is resized in V7?

This is an essential event for custom plugin responsive layouts.

Up to now we have been using the “panel-size-changed” event, but this is no longer available.

In the @grafana/data PanelEvents, there is no equivalent event for panel resize.

Is there something I have overlooked?

In case anyone else comes across the same issue, the only solution I found was to make use of ResizeObserver on the panel container.

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.