tableau / extensions-api

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

A few issues with resizing the extension #208

Closed sravikiran closed 2 years ago

sravikiran commented 5 years ago

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:

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?

Kovner commented 5 years ago

1) 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.

2) 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.

sravikiran commented 5 years ago

@Kovner Thanks for your reply here and on the forums.

  1. 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.
  2. It would be handy to have the API to resize the extension dynamically. Thanks for considering this.
johnDance commented 2 years ago

We now have the ability to move & size dashboard zones.