Home > @uniformdev/mesh-sdk > DialogOptions > contentHeight

DialogOptions.contentHeight property

Allows you to specify the height of the dialog content upon open. Note: the dialog itself will always be full height to match the Uniform dashboard UI. However, the content container within the dialog is, by default, auto-sized to the calculated height of the rendered content of the dialog. Setting the contentHeight option disables auto-sizing and allows you to specify your own height for the dialog content. contentHeight option can be specific lengths, e.g. 100vh, 500px, etc... as well as other standard CSS height options.

Signature: