fix(material/select): arrow not rendering correctly in high contrast mode#14219
fix(material/select): arrow not rendering correctly in high contrast mode#14219crisbeto wants to merge 1 commit intoangular:masterfrom
Conversation
|
@crisbeto this causes the arrow to be in a slightly different position, causing a very large number of screenshot diffs. It would be way easier to merge if it was in exactly the same position. |
|
@jelbourn do we know what browsers it happens on? I was doing a manual screenshot diff as I was doing it and it looked identical. |
|
All the screenshot tests in Google are generally just taken with Chrome |
78d766e to
fa48769
Compare
|
@crisbeto should we revisit this PR? I just checked this for the existing and MDC-based |
|
Sorry for the delay @jelbourn, I somehow missed your previous message and I saw it now after revisiting this PR. I think that we should try it again, because we've had more reports about this being an issue. Should we trigger another presubmit to see if it's still a problem? I just tried it out again, and it still looks identical. |
…ntrast mode The MDC select uses a CSS triangle for its down arrow which renders as a rectangle in high contrast mode. These changes switch it to an SVG arrow. These changes are identical to angular#14219 which had some trouble landing due to screenshot diffs. The MDC select shouldn't have such issues. Relates to angular#21263.
ed0a833 to
4144b2e
Compare
…mode Since all borders get rendered out in high contrast mode, we can't use a CSS triangle to render out the `mat-select` dropdown arrow. These changes replace it with an SVG arrow. Fixes angular#14207.
4144b2e to
7609ba1
Compare
|
sgtm, @andrewseguin we should get a fresh presubmit run for this |
…ntrast mode (#21606) The MDC select uses a CSS triangle for its down arrow which renders as a rectangle in high contrast mode. These changes switch it to an SVG arrow. These changes are identical to #14219 which had some trouble landing due to screenshot diffs. The MDC select shouldn't have such issues. Relates to #21263.
…ntrast mode (#21606) The MDC select uses a CSS triangle for its down arrow which renders as a rectangle in high contrast mode. These changes switch it to an SVG arrow. These changes are identical to #14219 which had some trouble landing due to screenshot diffs. The MDC select shouldn't have such issues. Relates to #21263. (cherry picked from commit fef9179)
|
Closing, because this causes a large number of screenshot diffs internally and the issue has been fixed in the MDC version of the select. |
|
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Since all borders get rendered out in high contrast mode, we can't use a CSS triangle to render out the
mat-selectdropdown arrow. These changes replace it with an SVG arrow.Fixes #14207.