Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scroll do editor de texto não está seguindo o cursor no android #2

Open
Irineu333 opened this issue Apr 1, 2024 · 0 comments
Open
Labels
bug Something isn't working

Comments

@Irineu333
Copy link
Member

Irineu333 commented Apr 1, 2024

Isso acontece porque o scroll é externo. Precisa ser assim para permitir a sincronização do scroll do editor com o contador de linhas, e o BasicTextField não expõe seu scroll interno no alvo android e nem no código comum 1, apenas no alvo desktop. Uma solução seria utilizar BasicTextField2, que expõe seu scroll interno, mas esse não suporta AnnotatedString.

Footnotes

  1. https://github.com/JetBrains/compose-multiplatform/issues/4533

@Irineu333 Irineu333 added the bug Something isn't working label Apr 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant