From b20dbea9dbabb0c3e5ea87b8b20d34e68963d236 Mon Sep 17 00:00:00 2001 From: Andrew Patton Date: Sun, 11 Feb 2024 10:12:11 -0800 Subject: [PATCH] =?UTF-8?q?Replace=20react=E2=80=99s=20autoFocus=20prop=20?= =?UTF-8?q?=E2=86=92=20HTML=20autofocus?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit the autofocus attribute includes the correct behavior for focusable elements that live inside dialogues or popovers on show, while the react autoFocus prop only causes an element to be focused on mount --- packages/input-text/src/InputText.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/input-text/src/InputText.tsx b/packages/input-text/src/InputText.tsx index c39b47a7..4d5b9727 100644 --- a/packages/input-text/src/InputText.tsx +++ b/packages/input-text/src/InputText.tsx @@ -226,7 +226,7 @@ export default React.forwardRef(function InputText(