Bring back nameInputRef to ThreadSettingsGeneralTab using the React.useRef() hook.
We add nameInputRef.current?.focus() to the useEffect so the input is focused when it appears.
Depends on D3828
Paths
| Differential D3832 Authored by atul on Apr 25 2022, 6:16 AM.
Tags None Referenced Files
Details Summary Bring back nameInputRef to ThreadSettingsGeneralTab using the React.useRef() hook. We add nameInputRef.current?.focus() to the useEffect so the input is focused when it appears. Depends on D3828 Test Plan
Diff Detail
Event TimelineHerald added subscribers: • abosh, • karol, • adrian, ashoat. · View Herald TranscriptApr 25 2022, 6:16 AM2022-04-25 06:16:38 (UTC-7) Harbormaster completed remote builds in B8503: Diff 11861.Apr 25 2022, 6:21 AM2022-04-25 06:21:36 (UTC-7) This revision now requires changes to proceed.Apr 26 2022, 8:30 AM2022-04-26 08:30:47 (UTC-7)
Harbormaster completed remote builds in B8570: Diff 11949.Apr 26 2022, 10:40 AM2022-04-26 10:40:07 (UTC-7) Harbormaster completed remote builds in B8571: Diff 11950.Apr 26 2022, 10:44 AM2022-04-26 10:44:17 (UTC-7) This revision is now accepted and ready to land.Apr 26 2022, 11:18 AM2022-04-26 11:18:00 (UTC-7) Harbormaster completed remote builds in B8675: Diff 12079.Apr 28 2022, 2:13 PM2022-04-28 14:13:15 (UTC-7) Closed by commit rCOMM0594d6438ca2: [web] Add `nameInputRef` back to `ThreadSettingsGeneralTab` (authored by atul). · Explain WhyApr 28 2022, 2:15 PM2022-04-28 14:15:24 (UTC-7) This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 12080 web/modals/threads/thread-settings-general-tab.react.js
web/modals/threads/thread-settings-modal.react.js
|