[Bug] Auto-Focus Search Input upon Navigating to Global Search Route
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 78/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Quiet
- Tech stack
- angular, typescript
Research direction
Start in src/app/features/search/ and inspect SearchComponent together with the Ionic search input. Reproduce navigation from the top header search bar to /search?q=query, then check the component lifecycle or effect used for focusing. Done means the search input is focused after the route loads and the query can be edited immediately.
Written by the indexing model from the issue text.
Description
Module: src/app/features/search/
Description
Navigating to /search?q=query from the top header search bar loads the Search page, but focus is not automatically retained on the input field.
Steps to Reproduce
- Click the top header search bar.
- Type a query and hit Enter.
- Page routes to
/search, but the user has to click the search input field again to modify the query.
Expected Behavior
The search input on /search should automatically focus on page load (autofocus or viewChild focus call).
Proposed Implementation
- Add
(afterViewInit)orEffectinSearchComponentto call.setFocus()on the Ionic input component.
- Dominant language
- TypeScript
- Stars
- 15
- Forks
- 63
- Avg merge
- 20h 3m
- Merged PRs (30d)
- 76
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from apache/fineract-backoffice-ui
-
accessibility angular bug good first issue typescript ux
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
apache/fineract-backoffice-ui#584 · 1 comment ·
-
angular enhancement good first issue typescript ux
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
apache/fineract-backoffice-ui#581 · 1 comment ·
-
accessibility angular bug good first issue typescript ux
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
apache/fineract-backoffice-ui#575 · 1 comment ·
-
good first issue help wanted i18n ux
Difficulty 2/5 1-2 days Newbie friendliness 78/100
apache/fineract-backoffice-ui#255 ·
-
angular bug good first issue javascript typescript ux
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
apache/fineract-backoffice-ui#223 · 5 comments ·
All issues in apache/fineract-backoffice-ui
Similar issues
-
calcite-components needs triage refactor
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Esri/calcite-design-system#15203 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 91/100
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
Difficulty 1/5 Under an hour Newbie friendliness 95/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Automattic/studio#4908 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 90/100