extensions-api icon indicating copy to clipboard operation
extensions-api copied to clipboard

Disable manual resizing of the dialog

Open melquic opened this issue 4 years ago • 2 comments

Hi guys, It would be great if we could disable the resizing of the dialog window, thus preventing the user from resizing it manually. Something like: tableau.extensions.ui.displayDialogAsync(popupUrl, data, { height: 500, width: 500, resizable: false })

Please let me know if there is any workaround for that today. Thanks.

melquic avatar Dec 23 '20 15:12 melquic

@melquic could you give more context here - is there a specific problem you're encountering when users resize manually?

bcantoni avatar Dec 23 '20 20:12 bcantoni

@melquic - We are currently working on displayDialogAsync. We will respect the size passed in, and make it non-resizable. Thanks.

johnDance avatar Jan 12 '21 19:01 johnDance

See the new DialogStyle.Modal - https://tableau.github.io/extensions-api/docs/enums/tableau.dialogstyle.html#modal

johnDance avatar Dec 29 '22 17:12 johnDance