hi there, could sb help me with focusProperties? I have Column with focusable Boxes with FocusReques...
m
hi there, could sb help me with focusProperties? I have Column with focusable Boxes with FocusRequesters, the point is to indicate which one should be focused on Column focus enter using d-pad. With Modifier.focusProperties { enter = { selectedFocusRequester }} it dosnt work. Am I miss sth or I missunderstund this modifier?
m
maybe you can try to delay (100), last time I try to use focusRequester.requestFocus(), it failed, I add a delay before the requestFocus, it works.
m
@Mathew xu but im not calling requestFocus at all. Where you want me to do it? In scope of `enter = {}`or to focus my root Column ?
m
enter = { delay(100) // your code }
m
But as far as I checked this
enter = {}
scope is not triggered at all