Not sure if anyone else has noted this problem, but when using Entity Embed together with Adminimal Theme, the autocomplete results are cut off by the base of the modal popup. I've attached an image demonstrating what happens:

Entity Embed modal text cuts off autocomplete results

Has anyone spotted this issue with any other admin theme?

I've attached a patch that remedies this with some quick and dirty CSS, but in the long run it might be a better idea to send some form of command to the modal popup to force it to adjust its height when autocomplete results are returned. Given that the behaviour of autocomplete widgets is locked down pretty tight by Form API, I'm not immediately sure how we'd accomplish this.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

geoffreyr created an issue. See original summary.

Devin Carlson’s picture

Title: Force additional space for autocomplete widget » Backport autocomplete fixes
Category: Bug report » Task
Issue tags: -adminimal_theme, -autocomplete

This has been fixed in D8 with #2508830: Various UI problem with autocomplete select control and #2535122: Autocomplete suggestions in modal clipped due to overflow: hidden.

These fixes should be backported to Entity Embed 1.x. The same fixes are being added to the stand-alone Dialog module in #2562179: Backport autocomplete fixes.

Devin Carlson’s picture

A patch which backports both fixes as well as the more recent enhancements made to the Dialog module which were required.

Devin Carlson’s picture

Status: Needs review » Fixed

Tested #3 and committed to Entity Embed 7.x-1.x.

If an individual theme is still experiencing issues then it may require minor CSS tweaks.

  • Devin Carlson committed 33f5487 on 7.x-1.x
    Issue #2562147 by geoffreyr, Devin Carlson: Backport autocomplete fixes
    

Status: Fixed » Closed (fixed)

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