Skip to main content

Notifications

Announcements

No record found.

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

  • Suggested answer
    Leah Ju Profile Picture
    Leah Ju 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

  • Mariusssf Profile Picture
    Mariusssf 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.

  • Leah Ju Profile Picture
    Leah Ju 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
    Mariusssf 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.

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,436 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans