Unnecessary scroll bar is displayed in the dialog module

Hi, I’m trying to create a Jira Cloud plugin with Connect, but I’m facing the problem that when I open my dialog module, unnecessary scrollbars appear. Is there any way to avoid these?
Note : I use React JS for the frontend

  • Dialog Module atlassian-connect.json:

image

  • Dialog Code:

image

  • Dialog:

Have you tried setting the SizeToParent option when declaring your all.js file?

See docs

Thanks for your answer, I already set sizeToParent to true

all.js:

@rwhitbeck, I fixed the problem by setting margin to false, when declaring all.js, thanks

<script src="//connect-cdn.atl-paas.net/all.js" data-options="sizeToParent:true;margin:false" type="text/javascript"></script>