Page MenuHomePhabricator

[native] Connect selection state with TextInput state in KeyserverSelection
ClosedPublic

Authored by ashoat on Apr 24 2023, 1:36 PM.
Tags
None
Referenced Files
F3174860: D7592.id25629.diff
Thu, Nov 7, 6:33 PM
Unknown Object (File)
Fri, Oct 11, 11:50 PM
Unknown Object (File)
Fri, Oct 11, 11:50 PM
Unknown Object (File)
Fri, Oct 11, 11:50 PM
Unknown Object (File)
Fri, Oct 11, 11:50 PM
Unknown Object (File)
Fri, Oct 11, 11:50 PM
Unknown Object (File)
Fri, Oct 11, 11:40 PM
Unknown Object (File)
Sep 20 2024, 2:21 PM
Subscribers

Details

Summary

Three changes:

  1. When the "Ashoat" option is selected, we blur the custom option's TextInput
  2. When the custom option's TextInput is focused, we select that option
  3. When the custom option is selected, we focus that TextInput if it's empty
Test Plan

(I also tested the same thing on Android)

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

Remove extraneous console.log

Avoid redefining selectCustom every time customKeyserver changes

This revision is now accepted and ready to land.Apr 25 2023, 1:57 PM