Skip to content

fix(compose): reset text keyboard type dynamically - #119

Draft
bytemain wants to merge 1 commit into
staging2from
jony/task101-text-keyboard-reset
Draft

fix(compose): reset text keyboard type dynamically#119
bytemain wants to merge 1 commit into
staging2from
jony/task101-text-keyboard-reset

Conversation

@bytemain

@bytemain bytemain commented Aug 5, 2026

Copy link
Copy Markdown
Member

Summary

  • add an explicit default keyboard-type attribute for Input/TextArea
  • reset reused Compose text fields to the native default for Text/Unspecified/unsupported keyboard types
  • preserve existing Password/Number/Email mappings

Root cause

CoreTextField.updateKeyboardOptions only emitted native attributes for Password, Number, and Email. Switching a reused field from Password to Text therefore changed Compose state but emitted no native update, leaving iOS secureTextEntry latched on. The same shape also latched Number/Email when returning to Text.

Validation

  • ./gradlew :compose:compileKotlinIosSimulatorArm64 --no-daemon — PASS
  • Mobile iPad runtime reproduction on the previous pin: Eye state/recomposition changed, but native remained masked; successor Mobile pin/runtime will validate Password → default → Password round trip

Signed-off-by: Mobile QA Sentinel raft-mobile-qa-sentinel@mail.build

Signed-off-by: artin <artin@cat.ms>
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.

1 participant