algolia / algolia/autocomplete

Navigating options should not scroll page

Open
#585 3 comments 0 reactions 0 assignees View on GitHub
Type: Enhancement
Dominant language
TypeScript
Stars
5.3k
Forks
341
Avg merge
3d 1h
Merged PRs (30d)
5

Description

## Description

When navigating options in the combobox popup, the scroll position on the page should not change.

## Reproduction

**Steps**

1. Go to https://www.algolia.com/doc/ui-libraries/autocomplete/introduction/what-is-autocomplete/ and place cursor in the second combobox.
2. Press Down arrow key a couple of times and see scroll position change.

https://user-images.githubusercontent.com/20753323/118694174-15375c00-b80c-11eb-8b92-3f2f2ef4b1a5.mp4

## Environment

- OS: [e.g. Windows / Linux / macOS / iOS / Android]
- Browser: [e.g. Chrome, Safari] Firefox 88
- Autocomplete version: [e.g. 1.0.0] 1.0.1

Contributor guide

Open the contributing guide

Research direction

Reproduce the issue on the linked Algolia documentation page using Firefox 88, focusing on the second combobox and Down-arrow navigation. Trace the combobox popup's keyboard-navigation entry point and verify that navigating options leaves the page scroll position unchanged without breaking option navigation.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.