Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(js): ignore empty template with no query and openOnFocus #407

Merged
merged 5 commits into from
Jan 27, 2021

Conversation

shortcuts
Copy link
Member

Summary

When openOnFocus is false, the empty source template or renderEmpty was still rendered.

@codesandbox-ci
Copy link

codesandbox-ci bot commented Jan 22, 2021

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 818f7fb:

Sandbox Source
@algolia/js-example Configuration
@algolia/react-renderer-example Configuration

@francoischalifour francoischalifour changed the title fix(emptyStates): fix openOnFocus priority over rendering empty templates fix(js): fix openOnFocus priority over rendering empty templates Jan 27, 2021
@francoischalifour francoischalifour changed the title fix(js): fix openOnFocus priority over rendering empty templates fix(js): ignore empty template with no query and openOnFocus Jan 27, 2021
@francoischalifour francoischalifour merged commit 92eeb3e into next Jan 27, 2021
@francoischalifour francoischalifour deleted the fix/emptyStates branch January 27, 2021 13:52
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.

2 participants