FlexLayout icon indicating copy to clipboard operation
FlexLayout copied to clipboard

Add an afterResize tab node event

Open DanielFlaum opened this issue 4 years ago • 2 comments

We have the resize event for tab nodes that is called before the tab is rendered with the new size. But what about after?

What I need is for my event handler to know that the resize operation has finished taking place. I suggest that the current resize event be made into a pair: beforeResize and afterResize.

Thanks!

DanielFlaum avatar Aug 01 '21 01:08 DanielFlaum

resizeStart, resize, resizeEnd?

LoganDark avatar Aug 03 '21 00:08 LoganDark

Alternatively, you could just use a plain old ResizeObserver

LoganDark avatar Aug 27 '21 08:08 LoganDark