Skip to content

AI Assistant: restore focus in chat after message processing#33794

Closed
anna-shakhova wants to merge 1 commit into
DevExpress:26_1from
anna-shakhova:26_1__ai_chat_focus_restore
Closed

AI Assistant: restore focus in chat after message processing#33794
anna-shakhova wants to merge 1 commit into
DevExpress:26_1from
anna-shakhova:26_1__ai_chat_focus_restore

Conversation

@anna-shakhova
Copy link
Copy Markdown
Contributor

No description provided.

@anna-shakhova anna-shakhova self-assigned this Jun 2, 2026
Copilot AI review requested due to automatic review settings June 2, 2026 13:16
@anna-shakhova anna-shakhova requested a review from a team as a code owner June 2, 2026 13:16
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Restores focus to the AI chat text area after message processing completes by explicitly calling focus()/blur() on the ChatTextArea instance whenever the input is enabled/disabled.

Changes:

  • Import ChatTextArea type for typed access to widget methods.
  • Resolve the widget instance once and toggle focus()/blur() based on the disabled flag in addition to setting the disabled option.

@anna-shakhova anna-shakhova force-pushed the 26_1__ai_chat_focus_restore branch from c21cc6f to f19752f Compare June 2, 2026 14:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants