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: Ensure the auto-suggestion popup is never below the keyboard #3282

Merged
merged 4 commits into from
Nov 7, 2022

Conversation

g123k
Copy link
Collaborator

@g123k g123k commented Nov 6, 2022

The current computation is based on the screen height, which is totally wrong.
We will not compute it based on the available space.

@g123k g123k requested a review from a team as a code owner November 6, 2022 23:17
@g123k g123k self-assigned this Nov 6, 2022
@codecov-commenter
Copy link

codecov-commenter commented Nov 6, 2022

Codecov Report

Merging #3282 (176dcc9) into develop (ea9904f) will decrease coverage by 0.00%.
The diff coverage is 0.00%.

@@             Coverage Diff             @@
##           develop    #3282      +/-   ##
===========================================
- Coverage    10.53%   10.52%   -0.01%     
===========================================
  Files          249      249              
  Lines        12248    12258      +10     
===========================================
  Hits          1290     1290              
- Misses       10958    10968      +10     
Impacted Files Coverage Δ
...oth_app/lib/pages/product/simple_input_widget.dart 2.02% <0.00%> (-0.23%) ⬇️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

Copy link
Member

@M123-dev M123-dev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍🏼

@M123-dev
Copy link
Member

M123-dev commented Nov 7, 2022

Actually noticed this problem today on a friends phone, the suggestions close when leaving the textfield on iOS not on android, great to have this fixed 🥳

@M123-dev M123-dev merged commit 10c3247 into openfoodfacts:develop Nov 7, 2022
@g123k g123k deleted the autosuggestion_height branch November 7, 2022 19:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants