Pinafore-Web-Client-Frontend/src/routes/_thirdparty/a11y-dialog
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
..
LICENSE fix: update Sapper to latest (#775) 2018-12-11 07:31:48 -08:00
a11y-dialog.js fix: focus the textarea in the Compose dialog (#2227) 2022-11-23 08:21:42 -08:00