If you hover with a mouse pointer, over where autocomplete suggestions will show up, and then type; the autocomplete suggestion will become a link (or at least visually become underlined, and therefore look like a link).

This is extremely minor, however when it first happened to me, it seemed a bit confusing. I thought I'd mention it anyway for the sake of completeness.

Note for Windows users: The attached video is QuickTime (.mov), however it also plays in VLC for people who don't want to download QuickTime for Windows. I didn't have a converter, so apologies for any inconvenience playing the video.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

CatsFromStonehenge created an issue. See original summary.

Version: 8.4.x-dev » 8.5.x-dev

Drupal 8.4.0-alpha1 will be released the week of July 31, 2017, which means new developments and disruptive changes should now be targeted against the 8.5.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Version: 8.5.x-dev » 8.6.x-dev

Drupal 8.5.0-alpha1 will be released the week of January 17, 2018, which means new developments and disruptive changes should now be targeted against the 8.6.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Version: 8.6.x-dev » 8.7.x-dev

Drupal 8.6.0-alpha1 will be released the week of July 16, 2018, which means new developments and disruptive changes should now be targeted against the 8.7.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

driverok’s picture

Issue tags: +epam-contrib-2019.03
driverok’s picture

Issue tags: -epam-contrib-2019.03

Version: 8.7.x-dev » 8.8.x-dev

Drupal 8.7.0-alpha1 will be released the week of March 11, 2019, which means new developments and disruptive changes should now be targeted against the 8.8.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

anschultz’s picture

We looked at this issue during DrupalCon 2019.

We discovered that the behavior is due to focus vs hover styling. Technically your mouse is still hovering on the element, even if the focus changes. You can also reproduce the bug if you hover over one autocomplete option, and use the keyboard arrow keys to switch focus to other elements.

We think a solution would be to turn off the hover pseudo-class for the autocomplete elements. Something like $('#elementName').off('hover')

We were unsure where to place a solution like this. We looked at /core/modules/field_ui/field_ui.js as a possibility, and ran into the js contributer workflow (https://www.drupal.org/node/2815083).

This may seem like a small issue, but it seems like a can of worms. We discussed if philosophically keeping the hover would be correct (technically the user is still hovering on the element), but looking at the amazon.com dropdowns, they don't have the issue of hover vs focus styling (and we know they've spent a lot of money on UX development).

Version: 8.8.x-dev » 8.9.x-dev

Drupal 8.8.0-alpha1 will be released the week of October 14th, 2019, which means new developments and disruptive changes should now be targeted against the 8.9.x-dev branch. (Any changes to 8.9.x will also be committed to 9.0.x in preparation for Drupal 9’s release, but some changes like significant feature additions will be deferred to 9.1.x.). For more information see the Drupal 8 and 9 minor version schedule and the Allowed changes during the Drupal 8 and 9 release cycles.

Version: 8.9.x-dev » 9.1.x-dev

Drupal 8.9.0-beta1 was released on March 20, 2020. 8.9.x is the final, long-term support (LTS) minor release of Drupal 8, which means new developments and disruptive changes should now be targeted against the 9.1.x-dev branch. For more information see the Drupal 8 and 9 minor version schedule and the Allowed changes during the Drupal 8 and 9 release cycles.

Version: 9.1.x-dev » 9.2.x-dev

Drupal 9.1.0-alpha1 will be released the week of October 19, 2020, which means new developments and disruptive changes should now be targeted for the 9.2.x-dev branch. For more information see the Drupal 9 minor version schedule and the Allowed changes during the Drupal 9 release cycle.

Version: 9.2.x-dev » 9.3.x-dev

Drupal 9.2.0-alpha1 will be released the week of May 3, 2021, which means new developments and disruptive changes should now be targeted for the 9.3.x-dev branch. For more information see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

Version: 9.3.x-dev » 9.4.x-dev

Drupal 9.3.0-rc1 was released on November 26, 2021, which means new developments and disruptive changes should now be targeted for the 9.4.x-dev branch. For more information see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

Version: 9.4.x-dev » 9.5.x-dev

Drupal 9.4.0-alpha1 was released on May 6, 2022, which means new developments and disruptive changes should now be targeted for the 9.5.x-dev branch. For more information see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

Version: 9.5.x-dev » 10.1.x-dev

Drupal 9.5.0-beta2 and Drupal 10.0.0-beta2 were released on September 29, 2022, which means new developments and disruptive changes should now be targeted for the 10.1.x-dev branch. For more information see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

Lendude’s picture

Status: Active » Postponed (maintainer needs more info)
Issue tags: -autocomplete, -styling +Bug Smash Initiative

Thank you for reporting this and the analysis in #8.

I tried to reproduce this following the steps in the IS and the provided movie. Using a clean Umami install on OSX using Chrome in the Claro theme, I could not reproduce this any more.

Is this still an issue for somebody? Is this OS/Browser/theme specific maybe? Or does this seem to be solved?

bnjmnm’s picture

I could not reproduce this with any of the current core themes (Claro, Olivero, Stark, Umami).

The video provided in the issue summary suggests this is not a Drupal core issue

  • From the typeface/color in the video example, it does not look like a core theme is in use.
  • The video also shows that matching characters within the autocomplete results are colored different. Drupal's built in Autocomplete does not do this, so this is either a modified version of Drupal's autocomplete or a different autocomplete altogether. The problem reported could be caused by those modifications (or different library)

This is something that can be addressed if we're provided steps to reproduce on a site that uses only themes + modules provided by Drupal core.

Version: 10.1.x-dev » 11.x-dev

Drupal core is moving towards using a “main” branch. As an interim step, a new 11.x branch has been opened, as Drupal.org infrastructure cannot currently fully support a branch named main. New developments and disruptive changes should now be targeted for the 11.x branch, which currently accepts only minor-version allowed changes. For more information, see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

quietone’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)

@CatsFromStonehenge Thank you for reporting this problem. We rely on issue reports like this one to resolve bugs and improve Drupal core.

There has been no activity here for N years M months.

More information about this issue was asked for 12 months ago and then 9 months. No additional information has been supplied. Since we need more information to move forward with this issue and it is has not been supplied I am closing this.

If you are experiencing this problem on a supported version of Drupal reopen the issue, by setting the status to 'Active', and provide complete steps to reproduce the issue (starting from "Install Drupal core").

Than