Skip to content

Fix/448 어쩌구저쩌구#449

Merged
HamBP merged 6 commits intodevelopfrom
fix/448
Mar 13, 2026
Merged

Fix/448 어쩌구저쩌구#449
HamBP merged 6 commits intodevelopfrom
fix/448

Conversation

@HamBP
Copy link
Member

@HamBP HamBP commented Mar 13, 2026

Issue

작업 내용

  • inputTransformation을 통해 TextFieldState의 text가 커밋되기 전 처리 과정을 거침

코멘트

  • TextFieldState를 사용하는 TextField의 동기화 문제를 해결하기 위해선 인자로 받은 text는 inital text의 의미로만 사용해야 할 것 같아. 한 번에 마이그레이션 진행해볼까 생각해봤는데, 일단은 기존 코드와의 호환성을 지키기 위해 최소한의 수정만 했어. 나중에 마이그레이션이 필요할 듯!
  • 추가적으로 setTextAndPlaceCursorAtEnd로 인해 커서가 튀는 문제와 빠르게 입력 시 문자가 누락되는 문제도 발견했어
image

참고 자료

https://developer.android.com/develop/ui/compose/text/user-input?hl=ko&textfield=state-based#filter-input-transformations
https://developer.android.com/develop/ui/compose/text/user-input?hl=ko&textfield=state-based#how-transformations-work

@HamBP HamBP self-assigned this Mar 13, 2026
@github-actions
Copy link

github-actions bot commented Mar 13, 2026

Test Results

12 files  12 suites   0s ⏱️
 9 tests  9 ✅ 0 💤 0 ❌
20 runs  20 ✅ 0 💤 0 ❌

Results for commit e0fbdba.

♻️ This comment has been updated with latest results.

@HamBP HamBP marked this pull request as draft March 13, 2026 12:20
@HamBP HamBP marked this pull request as ready for review March 13, 2026 15:11
@HamBP HamBP merged commit fb174fa into develop Mar 13, 2026
2 checks passed
@HamBP HamBP deleted the fix/448 branch March 13, 2026 15:11
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.

BtTextField 수정

1 participant