Web Panel size in Issue View

Hello there.

I’m having a problem with WebPanel in “location”: “atl.jira.view.issue.right.context”. The WebPanel itself works and shows up but the problem is with height.

In connector it’s set to:

"layout": { "width": "100%", "height": "500px" }

But it doesn’t matter what I set the height to, it just doesn’t work. All the time the panel iframe is resized to something small in the browser like here:

image

Anyone has any idea what am I missing?
Thanks for help.

Do you know the all.js parameters?

<script src="https://connect-cdn.atl-paas.net/all.js" data-options="sizeToParent:true"></script>

https://developer.atlassian.com/cloud/bitbucket/about-the-javascript-api/