- Issue created by @j.cowher
When the module is configured to display the reporting form in a dialog, the form is grayed out and is unusable. This doesn't happen in all cases and seems dependent on factors such as theme styles, etc.
Go to a node that has comments on it. Click on the link to flag a comment. When the dialog opens, it is grayed out and unusable.
In my case, this was only happening for specific roles so I initially thought it was a permissions related issue, but upon further investigation it was determined that a z-index was not being applied to both the dialog and it's overlay.
Reviewing the API documentation for Ajax Dialog Boxes β it appears that the Flag module fails to define the required dependency on the core/drupal.dialog.ajax library. Applying this dependency and rebuilding Drupal's cache appears to have fixed the issue. See attached patch.
Review the attached patch
Needs review
User interface