How to make AC webPanel sized to whole page?

Henry Pitman April 11, 2017

I'm building connect addon that adds itself to 'jira.project.sidebar.plugins.navigation' and it's rendered as whole page with project sidebard and top navigation bar.

My page's height is really large - let's say 2000px and I'd like it to have sticky header (the one that's stays always in the top of the page). I've noticed that my page is loaded in iframe which height is set to 2000px - my page is fully visible in JIRA, but as it's iframe, when I scroll my page is not aware about the scroll, so my sticky header doesn't work.

Can I somehow force Atlassian Connect to extend iframe just to the height of window? So that my iframe has a scrollbars?

I tried with:

data-options="sizeToParent:true;hideFooter:true;resize:false"

doesn't seem to help.

Edit: I seem not the only one that have this problem: https://ecosystem.atlassian.net/browse/ACJIRA-1207

1 answer

0 votes
Sam Hall
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.
April 11, 2017

Hi Henry - Welcome to the community.

Hopefully someone will be able to answer here, but just to let you know...

Since your question is development related, you can also try asking this over at: https://community.developer.atlassian.com (if you haven't already).

There are a lot of helpful and experienced people over there, so you might get a quick, informed response.

You can read more about the Developer Community in this article: https://community.atlassian.com/t5/Feedback-Forum-articles/The-Atlassian-Developer-Community/ba-p/459061

Suggest an answer

Log in or Sign up to answer