Hi, I added an AUI Select2 element in my JIRA gadget, but the list couldn't show full options correctly:

I tried to add z-index as following but it didn't work:
<form id="java_post_form" class="aui">
<select id="java_post_select" style="z-index: 999 !important;" multiple=""></select>
</form>
Here is my javascript where adding those options:
var java_post_select = document.getElementById('java_post_select');
[].forEach.call(args.restSearch.issues, function(param) {
var option = document.createElement("option");
option.value = param.key;
option.text = param.key;
java_post_select.add(option);
});
Sincerely,