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

This widget could not be displayed.
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
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Published yesterday in Marketplace Apps

The 7 hacks of highly successful automation

...there's anything I've learnt from working, it's that people are lazy! No offense to anyone reading this, but it's true and we can all admit it. The easier you make something for someone, the more...

120 views 0 9
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