Skip to content
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

Black border (left, right, bottom) added to body after lightbox closes on iOS Safari #5296

Closed
mkhatib opened this issue Sep 29, 2016 · 1 comment

Comments

@mkhatib
Copy link
Contributor

mkhatib commented Sep 29, 2016

Not sure if this is already in prod/canary. But it's in current master.

Repro:

  1. Run local server
  2. navigate to everything.amp.max.html example
  3. Locate the Open Lightbox button
  4. Click it
  5. Click close dialog
  6. Notice a visible black border appearing.

Computed styles for body changes as follow:

/* Before Opening Dialog */
border-top-color: rgba(0, 0, 0, 0);
border-top-style: solid;
border-top-width: 0px;
height: 628px;
width: 414px;

/* After Opening Dialog */
border-bottom-style: none;
border-left-style: none;
border-right-style: none;
border-top-color: rgba(0, 0, 0, 0);
border-top-style: none;
border-top-width: 0px;
height: 628px;
width: 414px;

/* After closing dialog */
border-bottom-style: solid;
border-left-style: solid;
border-right-style: solid;
border-top-color: rgba(0, 0, 0, 0);
border-top-style: solid;
border-top-width: 0px;

screen shot 2016-09-28 at 5 55 59 pm

Seen on iOS 9.2

@erwinmombay
Copy link
Member

@mkhatib can you checkout 1474310684773 and check if this bug is there?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants