Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(ui5-input): fix scrolling item into view #1848

Merged
merged 2 commits into from
Jun 22, 2020

Conversation

ilhan007
Copy link
Member

The scroll container should be awaited before we use it. Additionally, we use the step constant in the "isIteminView" method to avoid half visible items, because previously the input used to scroll if the item is entirely out of view (60 is the maximum height of a standard list item).

FIXES: #1847

@ilhan007 ilhan007 merged commit 5438c66 into master Jun 22, 2020
@ilhan007 ilhan007 deleted the fix-input-scrollItemInView branch June 22, 2020 06:34
ilhan007 added a commit that referenced this pull request Jun 23, 2020
The scroll container should be awaited before we use it. Additionally, we use the step constant in the "isIteminView" method to avoid half visible items, because previously the input used to scroll if the item is entirely out of view (60 is the maximum height of a standard list item).

FIXES: #1847
@ilhan007 ilhan007 added this to 1.0.0-rc.8 (released) in UI5 Web Components - Roadmap Aug 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ui5-input does not scroll when you key arrow down
2 participants