-
-
Notifications
You must be signed in to change notification settings - Fork 134
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
Search doesn't appear if select is at top of the page #1
Comments
Hi @spanja Currently, in https://github.com/bithost-gmbh/ngx-mat-select-search/blob/master/src/app/mat-select-search/mat-select-search.component.scss#L51 we shift the options overlay by As a workaround, you can manually override e.g. with
but this results in a an offset of the currently selected option from the cursor position of |
this issue can also occur when placing the select box somewhere on the page and scrolling it to the top edge of the viewport. |
For anybody alse who's having that problem, I recommend the |
@maxencefrenette thanks for sharing a solution! |
@maxencefrenette I added your workaround to the https://github.com/bithost-gmbh/ngx-mat-select-search/blob/master/README.md#known-problems--solutions |
With the release 1.5.0 it is possible to place |
I faced the same issue. The reason is that NgxMatSelectSearchModule was imported but not included in imports array. |
@ziaKhan1995 can you open aseparate issue? |
Hi,
There is an UI issue when the select panel is at the top of the screen (in your stackblitz example, remove the header).
The problem is that the search feature doesn't appear because the select panel is not positioned depending on the search height.
See this stackblitz :
https://stackblitz.com/edit/github-5phju9?file=src/app/app.component.html
The text was updated successfully, but these errors were encountered: