Skip to content
This repository has been archived by the owner on Dec 19, 2024. It is now read-only.

Safari 11 doesn't fit paper-dialog #77

Open
rubenstolk opened this issue Jun 24, 2017 · 1 comment
Open

Safari 11 doesn't fit paper-dialog #77

rubenstolk opened this issue Jun 24, 2017 · 1 comment

Comments

@rubenstolk
Copy link

rubenstolk commented Jun 24, 2017

On iOS 11 a <paper-dialog> that normally would be centered automatically doesn't get centered and doesn't get position: fixed, the latter causing it to be invisible...

I'm still investigating this issue, perhaps it would be fixed as Safari 11 gets finalized...

Looks like to have to do with https://trac.webkit.org/changeset/217522/webkit/

@rubenstolk
Copy link
Author

rubenstolk commented Jun 24, 2017

This fixes it for my situation:

  Polymer.IronFitBehavior.__discoverInfo = Polymer.IronFitBehavior._discoverInfo;
  Polymer.IronFitBehavior._discoverInfo = function () {
    this.__discoverInfo();
    this._fitInfo.positionedBy.vertically = this._fitInfo.positionedBy.horizontally = null;
  };

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

No branches or pull requests

1 participant