We have a forge plugin which opens a modal. this was working till 5th August, but now the width of the opened modal no longer uses the size field and open the modal with really less width(shown below).
Height works as expected.
Are there any code changes we need to make after recent changes?
Code snippet:
const openModal = () => {
const modal = new Modal({
resource: 'modal',
onClose: () => { },
size: 'xlarge'
});
modal.open();
};
return
</Fragment>
If we look at the html source, the section element, which we think represents the root of Modal has the right width and height, but the div under it is trimming the width. We cant find a way to adjust the style of that div.
The content of the Modal we can see under the iframe.
Any help is appreciated. Thanks
Update:
So the modal size: large and small work, only xlarge and max are the one's failing
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.