Skip to content

DDP-6918: Fix Autocomplete list scrolling [Pancan] #878

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

Closed
wants to merge 2 commits into from

Conversation

alextanlan
Copy link
Contributor

The previous fix PR#869 causes to another non caught bug.
We put autocomplete scroll under app header by scrolling. However other components (e.g. language selector) uses the same overlay container and also appear under the header.

See screenshots: (currently on dev, after the previous fix)
image
image

It is quite tough (if possible?) to tweak it by css. And it is a known Angular materials issue.

So it should be done in another way.
The simplest one is just closing any autocomplete suggestions list like it was done firstly (0171b33).
On the other hand it's not a user friendly behavior.
Thus I have fixed it a bit tricky, but it is working.

See screenshots after the fix:
image
image

@alextanlan
Copy link
Contributor Author

Discussed with Marco that it is a corner case.
Not worth complicating code in order to fix rare cases.
Closing the PR.

@alextanlan alextanlan closed this Sep 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant