Project sidebar missing

Thank you for visiting.

My custom Jira plugin is always runing with the project left sidebar missing. The html element information is as followed.

<div class="aui-sidebar projects-sidebar sidebar-pending">

The ‘sidebar-pending’ attribute is added automatically. And the sidebar appears after its ‘sidebar-pending’ attribute is removed.

How to keep the sidebar always visible?

The problem is caused by function of system inlineAttach.js creating an inline attach automatically for the ‘input[type=file]’ element. Adding a class attribute to the input element like '<input type='file' class='ignore-inline-attach'>, the sidebar turns out to be visible.

Thanks @tg.box for following up on your question.