I’m encountering an issue with aui-select2 in Jira 10. For some reason, I’m unable to select any options in the dropdown. Here are some details about my setup:
Steps to Reproduce:
I initialize the aui-select2 dropdown using the following JavaScript code:
Hi Michael,
I linked to AUI docs! With an assumption: “if it works in a standalone AUI, but does not in Jira, it might be a Jira issue”. And unfortunately I don’t yet know enough about Jira to help with this
Hi @michael.kornatzki,
The issue seems to be caused by an incorrect z-index calculation.
This was my workaround at the time, but it appears to be fixed now. If you’re still experiencing the problem, you can try this:
After multiple verifications and attempts, the issue has been identified as ScriptRunner, which is assigning a z-index of 799
@rlander can you verify this case? I tested it on version 9.12 and 9.14 - each time z-index is set to 799, which causes select2 to work incorrectly (Jira 10.*) - after disabling SR z-index is set to 3000 by default.
Yes this is us, we’ve got some JS in global contexts that appears to be a little too eager and is modifying zIndex on all AUI dropdowns.
The team is aware and are triaging/discussing today to my knowledge. Trying to push for a hotfix that removes the problematic code.
There are currently multiple bugs raised on our end for each impacted app, I have asked us to merge those bugs into a single common one to make tracking this easier.
Apologies pushing for a quick resolution on my end,