Skip to content

fix(instantsearch-ui-components): fix auto focus on open#6725

Merged
Haroenv merged 1 commit intomasterfrom
fix/chat-focus-on-open
Oct 7, 2025
Merged

fix(instantsearch-ui-components): fix auto focus on open#6725
Haroenv merged 1 commit intomasterfrom
fix/chat-focus-on-open

Conversation

@FabienMotte
Copy link
Copy Markdown
Contributor

Summary

This PR fixes the auto-focus of the chat prompt when opening the chat for InstantSearch.js by passing an external ref from the widget (in InstantSearch.js and React InstantSearch).

@FabienMotte FabienMotte requested review from Haroenv and shaejaz October 6, 2025 02:32
@FabienMotte FabienMotte self-assigned this Oct 6, 2025
@codesandbox-ci
Copy link
Copy Markdown

codesandbox-ci Bot commented Oct 6, 2025

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 9b25a26:

Sandbox Source
example-instantsearch-getting-started Configuration
example-react-instantsearch-getting-started Configuration
example-react-instantsearch-next-app-dir-example Configuration
example-react-instantsearch-next-routing-example Configuration
example-vue-instantsearch-getting-started Configuration

Comment thread packages/instantsearch.js/src/widgets/chat/chat.tsx
# Conflicts:
#	packages/instantsearch.js/src/widgets/chat/chat.tsx
#	packages/react-instantsearch/src/widgets/Chat.tsx
@FabienMotte FabienMotte force-pushed the fix/chat-focus-on-open branch from d33b639 to 9b25a26 Compare October 7, 2025 02:10
@Haroenv Haroenv merged commit 2daeede into master Oct 7, 2025
14 checks passed
@Haroenv Haroenv deleted the fix/chat-focus-on-open branch October 7, 2025 08:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants