aws / mynah-ui

The chat interface of Amazon Q Developer (for IDEs)
https://aws.github.io/mynah-ui/
Apache License 2.0
15 stars 14 forks source link

added autofocus to input field #48

Closed dogusata closed 5 months ago

dogusata commented 5 months ago

Problem

When window gets focus, even though the autoFocus property is set to true, input field doesn't get focus.

Solution

Added autofocus to initialization, window focus and tab add/change events.

License

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.