Skip to content
This repository was archived by the owner on Sep 5, 2024. It is now read-only.
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

@VitalickS

Description

@VitalickS

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.9
  • Angular 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.

Activity

changed the title [-]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[/+] on Dec 11, 2016
changed the title [-]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)[/+] on Dec 11, 2016
changed the title [-]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)[/+] on Dec 11, 2016
changed the title [-]Chrome md-dialog. Screen some widths vertical white line (1px width) appears (for ex. 1103px, 1104px)[/-] [+]dialog: some screen widths show vertical white line[/+] on Apr 21, 2020
Splaktar

Splaktar commented on Apr 21, 2020

@Splaktar
Contributor

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:

overflow: auto; // stop content from leaking out of dialog parent and fix IE

This same behavior occurs with overflow: hidden.

$dialog-border-radius: 4px !default;
md-dialog.md-THEME_NAME-theme {
border-radius: $dialog-border-radius;

This seems like a Chrome bug, but I wasn't quite able to find an exact match via this query.

added this to the - Backlog milestone on Apr 21, 2020
added
BlockedProgress 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.
needs: investigationThe cause of this issue is not well understood and needs to be investigated by the team or community
on Apr 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    BlockedProgress 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.browser: Chromeneeds: investigationThe cause of this issue is not well understood and needs to be investigated by the team or community

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @Splaktar@VitalickS

        Issue actions

          dialog: some screen widths show vertical white line · Issue #10118 · angular/material