How to resize the issue tab area dinamically?

Kinto Soft
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 5, 2013

Hi,

My plug-in fetches a lot of data form the server after it is loaded. So, the required height to display all the new content can be greater than the available.

How can a JIRA issue tab panel be re-sized by using java-script to allow all the content to be visible?

(Please, see the attached picture)

Many thanks,

Pablo.

2 answers

0 votes
Kinto Soft
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 6, 2013

Answering myself... it is automatically resized to fit the content size so there is nothing to do.

The problem was the <div> -> <svg> -> graph DOM hierachy. Graphs can be painted out of the svg container boundaries... reagrdless any <div> setting.

0 votes
codelab expert
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 6, 2013

You should put your content in a DIV element with scrollbars

&lt;div style="overflow: scroll"&gt;

&lt;!-- your content here --&gt;

&lt;div&gt;

Kinto Soft
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 6, 2013

It does not work :(, content is clipped. The scrollbars are shown but not activated when the content is bigger than the tab area.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events