Skip to content
This repository has been archived by the owner on Mar 13, 2018. It is now read-only.

Coordinates of polymer element <paper-dialog> cannot be set #14

Closed
AnjaGer opened this issue Jul 14, 2014 · 3 comments
Closed

Coordinates of polymer element <paper-dialog> cannot be set #14

AnjaGer opened this issue Jul 14, 2014 · 3 comments

Comments

@AnjaGer
Copy link

AnjaGer commented Jul 14, 2014

When using the dart polymer element of paper-elements (https://pub.dartlang.org/packages/paper_elements), the dialog appears in the middle of the browser. The coordinates of the dialog cannot be set and it is not possible to move it.

Are there any plans to enhance the element with that features?
Anja

@chuckh
Copy link

chuckh commented Jul 24, 2014

+1

@morethanreal
Copy link
Contributor

If the dialog is positioned with left and/or top, it will not try to auto position. Note that using inline styles will not work since the element is implemented with inline styles. Example: http://jsbin.com/xezaze/1/edit

I'll add a section in the doc about positioning a dialog.

@morethanreal
Copy link
Contributor

Doc added.

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

No branches or pull requests

3 participants