Problem/Motivation
When navigating the autocomplete using the keyboard, selected items are not highlighted.
Remaining tasks
Review patch, commit.
Original report by aiphes
Hi,
Actually coffee on D8 face issues related to the D6 version:
- with keyboard, navigation doesn't active hover effect (mouse do)
- unable to open link in new window, even if I push "ctl"
I will add others if it be necessary.
Thanks
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 3059863-coffee-highlighting.patch | 349 bytes | mr.baileys |
Comments
Comment #2
mr.baileysThanks for reporting @aiphes.
In your original issue, you reported 2 separated issues with the module. It is best to create separate issues for each of the bugs, since that makes coordinating and fixing them easier. I have repurposed this issue so it is about the item selection highlighting with the keyboard. I cannot reproduce the second issue you report (On macOS, I can open in a new window if I use ⌘ + click).
Attached is a patch that fixed the missing highlighting when navigating with up- and down-arrows.
Comment #3
aiphesThanks for the first fixed issue. I will upgrade to latest dev version as soon as possible.
For the other, ⌘ + click is like CTRL + click on W10 or Linux.
In chrome and FF it does't work, on Edge, Coffee doesn't open...
Comment #4
mr.baileys@aiphes:
The fix has not been committed yet, so if you want to use/review/test is, you will have to apply the patch manually (https://www.drupal.org/patch/apply).
Can you open a separate issue for the ctrl+click problem?
Comment #6
michaelmol commentedThanks
Comment #7
aiphes@michaelmol: does this signify I can update the module to the new version to fix this ? Which version do I need to use ? dev or stable ?
Thanks
Comment #8
michaelmol commentedStable, this fix is included in de 8.x-1.0 version
Comment #9
aiphesok just update it to 1.0 and if higlight work, ctl + click or right click doesn't, is it normal ?
Comment #10
aiphesAnother issue, the message
Could not load data, please refresh the pageis back after update..revert to previous in waitingComment #12
aiphesHi, after upgrade to D885 I get the same message and in watchdog it seem the path is wrong:
/fr/fr/admin/coffee/get-datainstead of/fr/admin/coffee/get-dataprobably more a Drupal missetting ? but which one ?