]> cat aescling's git repositories - mastodon.git/commit
Fix compose form behavior in mobile view (#15555)
authorClaire <claire.github-309c@sitedethib.com>
Wed, 24 Mar 2021 09:19:07 +0000 (10:19 +0100)
committerGitHub <noreply@github.com>
Wed, 24 Mar 2021 09:19:07 +0000 (10:19 +0100)
commit034f37b85a716872f78a72048a5a225cdcaa840a
tree6177873d6abc60e7a11915f3d1b7f0ab1521f2db
parent49814d579932496b52cd8f6a0194c21c21f83099
Fix compose form behavior in mobile view (#15555)

* Fix ComposeForm being mounted twice in mobile view

Fixes #13094

* Fix compose form focus and pre-selection behavior in mobile view

* Split _updateFocusAndSelection out of componentDidUpdate
app/javascript/mastodon/features/compose/components/compose_form.js
app/javascript/mastodon/features/ui/components/columns_area.js