Zoff
12/26/2023, 8:03 AMChatAppWithScaffold(focusRequester = focusRequester, contactList = contacts, ui_scale = ui_scale)
//LaunchedEffect(contacts.selectedContactPubkey) {
// focusRequester.requestFocus()
//}
if i comment out the part as shown above. the cpu load is gone. but i want my text input box to have focus.
any ideas what i am doing wrong?
why can't i simply set a text input to have focus without this hack anyway?
any help pleaseAlexander Maryanovsky
12/26/2023, 9:39 AMZoff
12/26/2023, 10:20 AMZoff
12/26/2023, 10:21 AMZoff
12/26/2023, 10:22 AMZoff
12/26/2023, 10:23 AMZoff
12/28/2023, 9:04 AMAlexander Maryanovsky
12/28/2023, 9:43 AMAlexander Maryanovsky
12/28/2023, 9:44 AMZoff
12/28/2023, 10:31 AM//LaunchedEffect(contacts.selectedContactPubkey) {
// focusRequester.requestFocus()
//}
if i comment this out, like this. then the issue goes awaysZoff
12/28/2023, 10:32 AMAlexander Maryanovsky
12/28/2023, 10:38 AMZoff
12/29/2023, 7:49 AM