-
Notifications
You must be signed in to change notification settings - Fork 338
Description
Description
This one might be related to #591 because it tries to scroll into a miscalculated position? Not sure about that though.
By selecting a element from the History section on the detached panel (createLocalStorageRecentSearchesPlugin) it will scroll to the bottom of the page on some iOS devices.
iOS 14.5.1 seems to be having this issue, older versions like 14.4 worked for some of my users, but it scrolled down for others.
It works perfectly on:
- Android devices
- Windows 10
- Safari desktop
Note: it also works by selecting an autocomplete value which is NOT from the history. So only the History plugin bugs it somehow.
Reproduction
Steps
- Go to codesandbox on an iOS device
- Open search input
- select an item from History
scrollbug.mp4
Video shows: starting: top of the screen, after clicking the history value, it jumps down to the bottom.
Expected behavior
Keep the current state and don't scroll down.
Environment
- OS: iOS 14.5.1 / multiple iOS devices
- Browser: Safari / Chrome
- Autocomplete version: 1.0.1
Update: new codesandbox for easier debugging