Problemunvalidated

on mount `mainToolbarRef.current.children` is empty — you currently guard the buttons with the `isButtonVisible` check. Tension: It can't measure something which is not there. Outcome: the overflow check can't be performed.

4bd045af-34ab-439f-b60e-691eeb604f1f

on mount mainToolbarRef.current.children is empty — you currently guard the buttons with the isButtonVisible check. Tension: It can't measure something which is not there. Outcome: the overflow check can't be performed.