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

mobile popup.placeTo() doesn't work as expected #9423

Open
slachtar opened this Issue Nov 10, 2017 · 0 comments

Comments

Projects
None yet
1 participant
@slachtar

slachtar commented Nov 10, 2017

Hello,
the popup.placeTo() is not placing the popup in the specified coordinates.
Please check http://tinyurl.com/y9u2nvmz

Or use this code in playground:

var page = new qx.ui.mobile.page.NavigationPage();
page.setTitle("Show popup");
page.addListener("initialize", function() {
  var button = new qx.ui.mobile.form.Button("First Button");
  page.getContent().add(button);

  button.addListener("tap", function() {
    var cont = new qx.ui.mobile.container.Composite(new qx.ui.mobile.layout.VBox());
		cont.add(new qx.ui.mobile.basic.Label("<p><b>Helloooo</b></p>"));
		var popup = new qx.ui.mobile.dialog.Popup(cont);
		popup.placeTo(20,20);
		popup.show();
  }, this);
},this);

this.getManager().addDetail(page);

page.show();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment