Quantcast
Channel: VMware Communities : Discussion List - vSphere Client SDK
Viewing all articles
Browse latest Browse all 2218

HTML SDK V6.7 U2 - Modal Dialog Size (no relative values allowed?)

$
0
0

We have been checking our plug-in on version 6.7 U2, and it is broken  when the vmModal is used as compared to 6.7 U1 and previously.  I checked the documentation and found that I am specifiying the size of the Model Dialog incorrectly. 

We have been calling the modal as follows:

 

var configObj= {

     url: "acmeModalUrl.html",

     size: {

          width: "90%",

          height: "70vh"

     },

     customData: acmeData

};

htmlSdk.modal.open(configObj);

 

I found in the docs, that the size parameters should be in pixels, so I guess what we are doing is unsupported.  It did work well in previous versions and was much more dynamic than pixel values  (for example when the window is resized, the modal is resized as well).

 

Is this functionality gone for good?

 

Cathy


Viewing all articles
Browse latest Browse all 2218

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>