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 vote
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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Asked 12 hours ago in Confluence

What are the resources that you use to learn more about Atlassian Products?

I am gathering information about resources available for Atlassian product knowledge transferring for a presentation in our local Atlassian User Group. I want to group them in four categories From ...

61 views 3 4
View question

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