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

[CfW] Text fields are broken in new beta #4649

Closed
3 tasks
alexzhirkevich opened this issue Apr 18, 2024 · 2 comments
Closed
3 tasks

[CfW] Text fields are broken in new beta #4649

alexzhirkevich opened this issue Apr 18, 2024 · 2 comments
Assignees
Labels
bug Something isn't working input Touch, mouse, keyboard input related p:high High priority web

Comments

@alexzhirkevich
Copy link
Contributor

alexzhirkevich commented Apr 18, 2024

Describe the bug
After JetBrains/compose-multiplatform-core#1259 text fields are broken on desktop browsers

  • singleLine text fields don't react on input
  • Cursor always jumps to the end of line when trying to type something in the middle
  • Selection doesn't work on the right side from cursor (enter some text, move cursor to the beginning, try select something - doesn't work because of invisible textarea that is placed after cursor).

All issues are gone if i remove the invisible textarea from the dom tree.

Affected platforms
Web JS. Tested in Chrome and Edge on Windows. Didn't check wasm

Versions

  • Kotlin version*: 1.9.23
  • Compose Multiplatform version*: 1.6.10-beta01
@alexzhirkevich alexzhirkevich added bug Something isn't working submitted labels Apr 18, 2024
@MatkovIvan MatkovIvan added input Touch, mouse, keyboard input related web p:high High priority and removed submitted labels Apr 18, 2024
@Nek-12
Copy link

Nek-12 commented Apr 20, 2024

Same story on wasm

@alexzhirkevich
Copy link
Contributor Author

alexzhirkevich commented Apr 25, 2024

Seems fixed in 1.6.10-beta02

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working input Touch, mouse, keyboard input related p:high High priority web
Projects
None yet
Development

No branches or pull requests

5 participants