How to make AC webPanel sized to whole page? Edited

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 Community Champion Apr 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
Community showcase
Published 8m ago in Sourcetree

Tip from the team: configure your repos for hosting goodness!

Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...

6 views 0 0
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you