Either onExpandChange parameter or onFocusChanged modifier was enough for me. Anyway, you saved my day, thanks!