Page MenuHomePhabricator

Conpherence - auto focus the textarea on thread select and after sending a message
ClosedPublic

Authored by btrahan on Feb 25 2015, 11:05 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Apr 25, 1:21 AM
Unknown Object (File)
Tue, Apr 16, 8:35 AM
Unknown Object (File)
Sat, Apr 13, 7:39 AM
Unknown Object (File)
Mon, Apr 1, 2:35 AM
Unknown Object (File)
Feb 1 2024, 5:17 PM
Unknown Object (File)
Dec 19 2023, 5:34 AM
Unknown Object (File)
Dec 19 2023, 12:54 AM
Unknown Object (File)
Dec 16 2023, 4:57 PM
Subscribers

Details

Summary

Fixes T7135. Also does a bit of a javascript cleanup in that we had an event - "conpherence-selectthread" - which really didn't need to be an event.

Test Plan

selected various conpherences from the list and they loaded correctly, including putting the cursor at the end of the text as appropriate. send many messages rapid fire without ever taking my hands off the keyboard.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

btrahan retitled this revision from to Conpherence - auto focus the textarea on thread select and after sending a message.
btrahan updated this object.
btrahan edited the test plan for this revision. (Show Details)
btrahan added a reviewer: epriestley.
webroot/rsrc/js/application/conpherence/behavior-pontificate.js
147

I couldn't get this to work in this flow without a setTimeout wrapper. the 100 was chosen arbitrarily.

epriestley edited edge metadata.
This revision is now accepted and ready to land.Feb 25 2015, 11:11 PM
This revision was automatically updated to reflect the committed changes.