mikepenz / multiplatform-markdown-renderer

Markdown renderer for Kotlin Multiplatform Projects (Android, iOS, Desktop), using Compose.

Home Page:https://mikepenz.github.io/multiplatform-markdown-renderer/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

how fix it

wzsee opened this issue · comments

commented

java.lang.IllegalStateException:
FocusRequester is not initialized. Here are some possible fixes:

                                                                                                   1. Remember the FocusRequester: val focusRequester = remember { FocusRequester() }
                                                                                                   2. Did you forget to add a Modifier.focusRequester() ?
                                                                                                   3. Are you attempting to request focus during composition? Focus requests should be made in
                                                                                                   response to some event. Eg Modifier.clickable { focusRequester.requestFocus() }