Scriptrunner web panel - how to display as collapsed

Tom Lister
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
December 11, 2020

Hi

I'm adding a webpanel to the issue view using Scriptrunner.

It has been added as a sctiprunner fragment - all good.

How can I ensure the panel is collapsed by default until the user expands it?

1 answer

0 votes
Tom Lister
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
December 12, 2020

I've tried setting a div as collapsed but this doesn't override the panel settings

<div class='module toggle-wrap collapsed'

Screenshot 2020-12-12 at 11.19.22.png

no effect

Tom Lister
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
December 12, 2020

Looks like I need to get a handle on 'aria' properties somehow

Screenshot 2020-12-12 at 11.30.51.png

Saravanakumar C November 8, 2023

Any updates on this?

Suggest an answer

Log in or Sign up to answer