Skip to content

Conversation

m-sasha
Copy link
Member

@m-sasha m-sasha commented Jun 10, 2025

This is a cherry-pick of #2118 into release/1.8.

The focusRect size needs to be scaled according to the density, too.

Fixes https://youtrack.jetbrains.com/issue/CMP-8176/Input-Method-toolbar-too-far-from-text

Testing

Tested manually with

TextField(
    state = rememberTextFieldState(""),
    textStyle = LocalTextStyle.current.copy(fontSize = 64.sp),
)

This could be tested by QA

Release Notes

Fixes - Desktop

  • Fix the positioning of the IME popup being too far away from the text, on screens with density greater than 1.0.

@m-sasha m-sasha requested a review from Kpotko June 10, 2025 13:47
@m-sasha m-sasha force-pushed the m-sasha/cherr-pick-fix-InputMethodSession-getTextLocation-size branch from f261ffe to 3cf1571 Compare June 10, 2025 14:24
@Kpotko Kpotko merged commit b05078b into release/1.8 Jun 10, 2025
10 checks passed
@Kpotko Kpotko deleted the m-sasha/cherr-pick-fix-InputMethodSession-getTextLocation-size branch June 10, 2025 15:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants