This repository was archived by the owner on Sep 5, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
This repository was archived by the owner on Sep 5, 2024. It is now read-only.
dialog: some screen widths show vertical white line #10118
Copy link
Copy link
Open
Labels
BlockedProgress on this issue is blocked. Primarily used for PRs that are blocked by presubmit feedback.Progress on this issue is blocked. Primarily used for PRs that are blocked by presubmit feedback.P4: minorMinor issues. May not be fixed without community contributions.Minor issues. May not be fixed without community contributions.browser: Chromeneeds: investigationThe cause of this issue is not well understood and needs to be investigated by the team or communityThe cause of this issue is not well understood and needs to be investigated by the team or community
Milestone
Description
Actual Behavior:
What is the issue?
Any md-dialog with toolbars in Chrome has right vertical white line for some screen widths. (for ex. 1103px, 1104px)`What is the expected behavior?
No white line please.
CodePen (or steps to reproduce the issue):
CodePen Demo which shows your issue:
CodePen Demo.- Resize chrome browser for some widths (for ex. 1103px, 1104px)
- See vertical white line (1px width) that appears
Details:
I tested in other browsers, only chrome has this issue
Angular Versions: *
Angular Version:
1.5.9Angular Material Version:
1.1.0
Additional Information:
Browser Type: Chrome
Browser Version: Latest
OS: Windows 10
Do not modify the titles or questions. Simply add your responses to the ends of the questions.
Add more lines if needed.
KRaymundus and napiergit
Metadata
Metadata
Assignees
Labels
BlockedProgress on this issue is blocked. Primarily used for PRs that are blocked by presubmit feedback.Progress on this issue is blocked. Primarily used for PRs that are blocked by presubmit feedback.P4: minorMinor issues. May not be fixed without community contributions.Minor issues. May not be fixed without community contributions.browser: Chromeneeds: investigationThe cause of this issue is not well understood and needs to be investigated by the team or communityThe cause of this issue is not well understood and needs to be investigated by the team or community
Type
Projects
Milestone
Relationships
Development
Select code repository
Activity
[-]Chrome md-dialog. Screen odd width vertical white line (1px width) appears[/-][+]Chrome md-dialog. Screen some odd widths vertical white line (1px width) appears[/+][-]Chrome md-dialog. Screen some odd widths vertical white line (1px width) appears[/-][+]Chrome md-dialog. Screen some odd widths vertical white line (1px width) appears (for ex. 1103px, 1104px)[/+][-]Chrome md-dialog. Screen some odd widths vertical white line (1px width) appears (for ex. 1103px, 1104px)[/-][+]Chrome md-dialog. Screen some widths vertical white line (1px width) appears (for ex. 1103px, 1104px)[/+][-]Chrome md-dialog. Screen some widths vertical white line (1px width) appears (for ex. 1103px, 1104px)[/-][+]dialog: some screen widths show vertical white line[/+]Splaktar commentedon Apr 21, 2020
I updated the demo to AngularJS Material 1.1.21 and I still see the same behavior. I can't reproduce it using the exact screen pixel width specified here, but resizing the browser repeatedly I can find a certain width where there does appear to be a 1px white line within the dialog's
md-toolbar
.After some minor debugging, it appears to be related to the interaction between the following two CSS properties:
material/src/components/dialog/dialog.scss
Line 38 in e96293a
This same behavior occurs with
overflow: hidden
.material/src/components/dialog/dialog-theme.scss
Lines 1 to 4 in e898d22
This seems like a Chrome bug, but I wasn't quite able to find an exact match via this query.