AnsweredAssumed Answered

Disable Docking

Question asked by shawnroberts on Nov 23, 2018
Latest reply on Nov 23, 2018 by rscheitlin

I've been working on customizing a popup and just have a quick question. I've adjusted the widths and breakpoints as required, and don't want  it to dock. I feel like this one is fairly easy, and I'm just missing something small.

 

My current code for that portion is:

 

const view = new MapView({
container: "viewDiv",
map: map,
zoom: 10,
center: [-80.899567, 44.434577],
popup: {

              dockEnabled: false,

              dockOptions:{buttonEnabled: false}

             };
});

 

I figured turning the "dockEnabled" to false would do it, but apparently not.  Am I missing something?

 

Thanks in advance.

Outcomes