web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Suggested Answer

Is it possible to dynamically resize a form section based on it's content?

(0) ShareShare
ReportReport
Posted on by 54

Hi, 

We've made a custom ordering system in react w/ sanity forms that we've embedded in a table form. The sanity form size varies based on how much input it takes.
Is it possible to dynamically resize the section the app is embedded in based on how big content inside is? The specific order sanity form is selected from a dropdown, so there won't be any onChange event fired nor will the desired size for the section be available before the user has picked a form.

Best regards, 

Marius

I have the same question (0)
  • Mariusssf Profile Picture
    54 on at
    RE: Is it possible to dynamically resize a form section based on it's content?

    We primarily want to dynamically resize the section to avoid section-scrolling on big sanity forms.

  • Leah Ju Profile Picture
    Microsoft Employee on at
    RE: Is it possible to dynamically resize a form section based on it's content?

    Hi Mariusssf,

    Could you tell me what app yu are using in D365?

  • Mariusssf Profile Picture
    54 on at
    RE: Is it possible to dynamically resize a form section based on it's content?

    Hi Leah Ju,

    We are using our own custom app, but the base of it is the sales app.

  • Suggested answer
    Leah Ju Profile Picture
    Microsoft Employee on at
    RE: Is it possible to dynamically resize a form section based on it's content?

    Hi Mariusssf,

    In fact, we can't even manually customize the size of section in the form.

    It can be dynamically resized according to the content inside:

    pastedimage1678179812745v4.pngpastedimage1678179835321v5.png

    The presence or absence of scroll bars depends on the size of the form.

    We can't resize form, but we can achieve our goal through adjusting the resolution of your browser:

    pastedimage1678180092115v6.png

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
#ManoVerse Profile Picture

#ManoVerse 101

#2
Siv Sagar Profile Picture

Siv Sagar 93 Super User 2025 Season 2

#3
Martin Dráb Profile Picture

Martin Dráb 66 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans