pinafore/src/routes/_components/compose
James Teh 8792d912bc
fix: focus the textarea in the Compose dialog (#2227)
ComposeBox already specified autoFocus for the ComposeInput.
However, this didn't work because the dialog was disabled when the ComposeInput code tried to focus the textarea.
To fix this, tweak A11yDialog to look for the autofocus attribute when determining what to focus.
This is consistent with the behavior for native HTML dialogs.
Then, have ComposeInput set this attribute if it's in a dialog.
Fixes #1839.
2022-11-23 08:21:42 -08:00
..
ComposeAuthor.html fix!: remove esm package, use native Node ES modules (#2064) 2021-07-04 20:19:04 -07:00
ComposeAutosuggest.html fix!: remove esm package, use native Node ES modules (#2064) 2021-07-04 20:19:04 -07:00
ComposeAutosuggestContainer.html fix!: remove esm package, use native Node ES modules (#2064) 2021-07-04 20:19:04 -07:00
ComposeAutosuggestionList.html fix: add country flag emoji on windows (#2117) 2022-03-27 20:59:02 -07:00
ComposeBox.html fix(a11y): fix number of headings (#2183) 2022-11-13 07:01:12 -08:00
ComposeButton.html fix!: remove esm package, use native Node ES modules (#2064) 2021-07-04 20:19:04 -07:00
ComposeContentWarning.html fix!: remove esm package, use native Node ES modules (#2064) 2021-07-04 20:19:04 -07:00
ComposeFileDrop.html fix!: remove esm package, use native Node ES modules (#2064) 2021-07-04 20:19:04 -07:00
ComposeInput.html fix: focus the textarea in the Compose dialog (#2227) 2022-11-23 08:21:42 -08:00
ComposeLengthGauge.html fix!: remove esm package, use native Node ES modules (#2064) 2021-07-04 20:19:04 -07:00
ComposeLengthIndicator.html fix!: remove esm package, use native Node ES modules (#2064) 2021-07-04 20:19:04 -07:00
ComposeMedia.html fix!: remove esm package, use native Node ES modules (#2064) 2021-07-04 20:19:04 -07:00
ComposeMediaItem.html fix!: remove esm package, use native Node ES modules (#2064) 2021-07-04 20:19:04 -07:00
ComposeMediaSensitive.html fix!: remove esm package, use native Node ES modules (#2064) 2021-07-04 20:19:04 -07:00
ComposePoll.html fix: increase poll answer max length to 50 (#2086) 2021-08-06 15:20:48 -07:00
ComposeStickyButton.html fix: fix pencil button location with bottom nav (#2222) 2022-11-21 18:53:25 -08:00
ComposeToolbar.html fix!: remove esm package, use native Node ES modules (#2064) 2021-07-04 20:19:04 -07:00
LazyComposeBox.html fix!: remove esm package, use native Node ES modules (#2064) 2021-07-04 20:19:04 -07:00