Closed (fixed)
Project:
Drupal core
Version:
9.2.x-dev
Component:
Olivero theme
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
26 Feb 2021 at 16:58 UTC
Updated:
14 May 2021 at 13:24 UTC
Jump to comment: Most recent, Most recent file


Comments
Comment #2
gauravvvv commentedI have attached a patch and after patch screenshot for reference. Please review.
Comment #3
gauravvvv commentedComment #4
imalabya@Gauravmahlawat The issue is that the autocomplete fields don't have a style when they are disabled. Moving it to NW
Comment #5
imalabyaAdded a patch that applied the disabled styling for autocomplete field.
Comment #6
vikashsoni commented@imalabya i am getting error when applying the patch if i am missing some tell me check screenshot
Comment #7
cindytwilliams commentedPatch #5 applied cleanly via Composer, and the disabled autocomplete input field now has disabled styling. Marking RTBC.
Before patch:

After patch:

Comment #8
kleiton_rodrigues commentedI applied patch and the input field now has disabled styling css.
It's good for me.
RTBC +1.
Comment #9
vikashsoni commentedApplied patch working fine sharing the screenshot...
Comment #10
mherchelThis looks great for normal left-to-right languages (such as english), but the styling does not work for RTL languages (such as arabic). These styles are controlled in the same file around line 32. We basically need to do the same thing there. We also should be adding the
/* LTR */comment after each CSS line that is LTR specific like thebackground-positionproperty's line (see https://www.drupal.org/docs/develop/standards/css/css-formatting-guideli...).Comment #11
cindytwilliams commentedHere is a patch that applies the disabled styling for autocomplete fields for both RTL and LTR languages, with /* LTR */ comments added where needed.
Comment #12
cindytwilliams commentedI forgot to add the disabled color for RTL. Added that to this patch, along with the disabled styling for autocomplete fields for both RTL and LTR languages, and the /* LTR */ comments where needed.
Comment #13
mherchelThe
autocomplete-loading.module.pcss.csslooks perfect. The reason why the commands failed in the patch above is because the compiled CSS in the patch didn't match the compiled CSS that core output when runningyarn build:css. You'll want to make sure your dependencies are up to date by runningyarn installfrom the/coredirectory.I'm including an updated patch an interdiff here. Setting to RTBC since the only thing we're changing is the generated files.
Comment #14
lauriiiI think it would be better to set this to
--color--whitelike we do on form-text.pcss.css to ensure the text has sufficient contrastComment #15
mherchelDone!
Comment #16
bhumikavarshney commentedHi @mherchel,
The patch applies cleanly and also now the color is set to --color--white.
Thanks.
Comment #17
abhijith s commentedApplied patch #15 and it works fine.Adding screenshots.
Before patch:

After patch:

RTBC +1
Comment #18
djsagar commentedApplied patch #15 and working as accepted so moving this as on RTBC.
Adding attachment.
Comment #20
lauriiiCommitted 88d8300 and pushed to 9.2.x. Thanks!
Comment #21
gauravvvv commented