The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to make AC webPanel sized to whole page?

Henry Pitman
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

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 Champions.
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

TAGS
AUG Leaders

Atlassian Community Events