algolia / algolia/autocomplete

[Autocomplete-js npm] result panel leaving space and go down on each page scroll

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

Description

## Description

[Autocomplete-js npm] result panel leaving space and go down on each page scroll
## Reproduction

go to chrome browser demo where page height is more than screen size and autocomplete input is at top and then scroll one or two time and then click and search. the result will show at little down of autocomplete input

## Expected behavior

it should open just attached to autocomplete input
## Environment

- OS: Linux / macOS
- Browser: Chrome
- Autocomplete version: [e.g. 1.5.3]

Contributor guide

Open the contributing guide

Research direction

Start with the Chrome demo described in the issue and reproduce the autocomplete panel position after scrolling the page, then inspect the autocomplete-js package entry points involved in positioning the results. Done means the results panel remains attached to the input after scrolling and searching on a page taller than the viewport, with the behavior checked in Chrome.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.