-
-
Notifications
You must be signed in to change notification settings - Fork 127
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
Bug in IE11: Styling broken and select not useable in automation scenarios #29
Comments
@Sabartius thanks for reporting the issue!
Unfortunately, I am not able to reproduce your IE11 width issue. This is what I get with IE11:
I don't yet know how this problem arises, since the search field correctly takes up the space needed and shifts the options down. Could you create a dummy html / css demonstrating the problem? |
I reproduced it: https://stackblitz.com/edit/github-kygcsp?file=src%2Fapp%2Fapp.component.ts The Select-Panel has a hard max-width of 280px. If an MatOption has a longer text, the search Input seems to grow further, than this maximum. When you open the Panel it should automatically scroll to Bank K (Italy), but because the Input overlays it, you can't see it |
@Sabartius thanks for the example showing the issue. Could you please help me and find a solution for it? Could you also propose a solution to the automation issue? |
@Sabartius could you please open a separate issue concerning the automation part? I think we can find a way to achieve this without changing the layout. |
@Sabartius would you mind stating the automation case in a separate issue? I guess this could be solved with test-specific css styles. |
@macjohnny test-specific css styles are not an option in my opinion, especially not in an end2end scenario. But i solved it in a more pragmatic way: by filtering for the option i need, so that there is no scrolling inside the select necessary. |
@Sabartius thanks for the feedback. Nevertheless I am glad you could solve your issue. |
Hi,
in Internet Explorer 11 the styling of the component is broken. It breaks out of the Overlay and there is no Placeholder inside the input.
Furthermore the component is not useable when automating the application with tools like protractor.
Protractor tries to "scrollIntoView" the specific Option it wants to click onto, but in this case it scrolls right under the search-input, so that it is not clickable.
The text was updated successfully, but these errors were encountered: