algolia / algolia/autocomplete

Change the default of openOnFocus to true

Open
#1,298 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
TypeScript
Stars
5.3k
Forks
341
Avg merge
3d 1h
Merged PRs (30d)
5

Description

Most behaviour, especially in detached mode, is more predictable if openOnFocus is true. I think it could be interesting to change the default, and maybe even remove the `openOnFocus: false` behaviour.

Alternatively maybe in detached mode the behaviour should always be openOnFocus: true without taking the option in account.

ref: [CR-7603]

[CR-7603]: https://algolia.atlassian.net/browse/CR-7603?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

Contributor guide

Open the contributing guide

Research direction

Start by locating the openOnFocus option and the behavior for detached mode. Resolve whether the default should change, whether false should remain supported, or whether detached mode should ignore the option; done when the chosen behavior is implemented consistently.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.