tableau / extensions-api

Extensions API sample code and developer docs.
http://tableau.github.io/extensions-api
MIT License
268 stars 251 forks source link

Disable manual resizing of the dialog #361

Closed melquic closed 1 year ago

melquic commented 3 years ago

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.

bcantoni commented 3 years ago

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

johnDance commented 3 years ago

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

johnDance commented 1 year ago

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