AnsweredAssumed Answered

Why isn't Popup's Reposition function working?

Question asked by Jefairfi on Jan 3, 2020
Latest reply on Jan 3, 2020 by rscheitlin

The Popup's reposition function doesn't do anything in this jsbin example with a viewDiv that has a 500px height.

 

Here's the relevant code I'm using:

view.popup.watch("visible", function(val) {
   if (val) {
      view.popup.reposition();
   }
});

Here's the JSbin example.

 

Outcomes