fix(ui): :bug: `HotkeysModal` and `SettingsModal` initial focus by joshistoast · Pull Request #8687 · invoke-ai/InvokeAI
instead of using the `initialFocusRef` prop, the `Modal` component was focusing on the last available Button. This is a workaround that uses `tabIndex` instead which seems to be working. Closes invoke-ai#8685
joshistoast added a commit to joshistoast/InvokeAI that referenced this pull request
Dec 23, 2025…i#8687) * fix(ui): 🐛 `HotkeysModal` and `SettingsModal` initial focus instead of using the `initialFocusRef` prop, the `Modal` component was focusing on the last available Button. This is a workaround that uses `tabIndex` instead which seems to be working. Closes invoke-ai#8685 * style: 🚨 satisfy linter --------- Co-authored-by: Lincoln Stein <lincoln.stein@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters