Problem/Motivation

This is fairly obscure, but when running the patch from this Chosen issue, since elements are no longer hidden, but rather have their opacity set to 0, when the SHS js uses fadeIn, the select element that should be visually hidden appears behind the Chosen widget.

This only happens with the above patch, and only with long term names:

Note the select list at the far right peaking out from behind the Chosen widget.

Proposed resolution

Stop animations on the widget from the chosen js.

Remaining tasks

User interface changes

API changes

Data model changes

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

jhedstrom created an issue. See original summary.

jhedstrom’s picture

Assigned: jhedstrom » Unassigned
Status: Active » Needs review
FileSize
894 bytes

And the patch.

kevin.dutra’s picture

Status: Needs review » Reviewed & tested by the community

I've looked over the code change (it's pretty straightforward) and done a bit of manual testing. Everything seems to be behaving as expected with this patch, so marking RTBC.

  • jhedstrom committed e2125a9 on 8.x-1.x
    Issue #2792631 by jhedstrom: Leaf select element appears behind Chosen...
jhedstrom’s picture

Status: Reviewed & tested by the community » Fixed

This has been committed.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.