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
Unknown Object (File)
Thu, Sep 5, 6:53 AM
Unknown Object (File)
Wed, Sep 4, 7:18 AM
Unknown Object (File)
Mon, Sep 2, 3:50 PM
Unknown Object (File)
Sat, Aug 31, 3:09 AM
Unknown Object (File)
Mon, Aug 26, 7:42 PM
Unknown Object (File)
Mon, Aug 26, 3:37 PM
Unknown Object (File)
Mon, Aug 26, 1:37 PM
Unknown Object (File)
Mon, Aug 26, 12: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
Lint Not Applicable
Unit
Tests Not Applicable

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