A few issues with resizing the extension
Hi,
We are building a tableau extension that has to respond when a user resizes it. It renders content on the extension based on the available width. We are currently facing the following two problems because of this:
- The extension page reloads whenever the extension is resized in the Tableau workbook online view using any browser like Chrome or Firefox
- We need a way to resize the extension dynamically to a size when the user clicks on a button. I tried the ways in which a browser window can be resized using
window.resizeByorwindow.resizeTo, but they didn't work
Please let me know if there are ways to solve these using the Tableau extensions API or if there is any plan to include these features in the future?
-
Are you saying that when building dashboards on the web ("Tableau Web Authoring") the Extension refreshes every time you resize or move the Extension? If so, that's not expected, and I will file a bug. The expected behavior is what you're seeing in Desktop that you don't see a refresh when resizing or moving the Extension zone.
-
You're asking for a way to resize the Extension zone in the dashboard via the Extensions API? If so, we don't have that in the API but we will likely build a way to resize dashboard zones via the API at some point in the future.
@Kovner Thanks for your reply here and on the forums.
- Yes, the extension is reloading whenever we resize it on the web. We will keep checking your release notes for the fixes and let us know if you create an issue here for the bug.
- It would be handy to have the API to resize the extension dynamically. Thanks for considering this.
We now have the ability to move & size dashboard zones.