Closed (duplicate)
Project:
Drupal core
Version:
9.5.x-dev
Component:
Claro theme
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
26 Aug 2020 at 09:08 UTC
Updated:
7 Oct 2022 at 11:04 UTC
Jump to comment: Most recent, Most recent file

Comments
Comment #2
lauriiiComment #7
quietone commentedIs this a duplicate of #3087950: Progress throbber position is incorrect?
Comment #8
jeroentI don’t think they are duplicates. This issue is about the throbber in autocomplete fields.
#3087950: Progress throbber position is incorrect is abouth the throbber next to dropbuttons.
Comment #9
quietone commented@JeroenT, thanks for the clarification.
I guess this can go back to active then.
Comment #10
Shiv Yadav commentedComment #11
Shiv Yadav commentedComment #12
libbna commentedThe patch LGTM.
Before applying the patch the throbber was not in a right position but after applying the patch it is at right place. Added screenshots.
Comment #13
alexpottWe need to update core/themes/claro/css/components/autocomplete-loading.module.pcss.css and build the css by doing
yarn run build:cssin the core directory.Comment #14
alexpottAlso I'm not convinced that swapping the svg for a gif is the correct fix.
Comment #15
ameymudras commentedDid some troubleshooting and looks like the SVG it self isn't created correctly. We might need to create a spinner svg again. In the mean time uploading the above patch by making the changes to pcss file.
Comment #16
ameymudras commentedComment #17
vinmayiswamy commentedI applied #15 patch against 9.5.x-dev and its working for me as expected.
Thanks @ameymudras
Comment #18
abhijith s commentedApplied patch #15 and it fixes the issue.Attaching recorded video after applying this patch.
Comment #19
asha nair commentedApplied patch #15 successfully in 9.5x and it works fine. Adding screenshots
Comment #20
rakesh.regar#15 Patch applied cleanly and working fine in 9.5-dev
+RTBC
Comment #21
libbna commentedAccording to the above 3 reviews marking this as RTBC.
Comment #22
jeroentThe background image is still a gif in the latest patch instead of a svg.
Comment #23
Shubham Sharma 77 commentedJeroenT, SVG is not created correctly it is getting cut from top position.
So, I think we can use gif instead of svg.
We can move this ticket to RTBC.
Comment #24
jeroentYeah, my point is, and also mentioned in #14, that we should fix the SVG.
Comment #25
libbna commentedI will work on this.
Comment #26
libbna commentedI have added background position to throbber svg as we don't want to change it to gif.
Comment #27
libbna commentedComment #28
libbna commentedThe command is failing because of
autocomplete-loading.module.pcss.cssis not updated. In #13 @alexpottsuggested that we should run
yarn run build:cssbut when I run this command it removes the changes that I made onautocomplete-loading.module.cssfile.Need some guidance in this. Thanks.
Comment #29
ranjith_kumar_k_u commentedComment #30
libbna commented@ranjith_kumar_k_u did you manually updated the pcss file or did run any command?
Comment #31
libbna commentedComment #32
asha nair commentedApplied patch in #29 and it fixes the issue. Adding screenshots
Comment #33
ameymudras commentedTested the above patch and it resolves the issue
Comment #34
larowlanRemoving issue credit for @rakesh.regar who added screenshots when someone else already had.
Retaining credit for @Asha Nair who did the same in #19 but then retested an untested patch in #32
Comment #36
ameymudras commentedComment #37
Aamir M commentedComment #38
Aamir M commentedPatch #29 applied successfully and looks good to me.
After applying the patch the position of Autocomplete throbber is correct.
Videos are attached for reference.
Hence moved to RTBC
Comment #39
ckrinaClosing this issue as duplicated of #3308733: Claro: "Spinner" loading icon not vertically aligned properly in favor of the solutions used there because that is refactoring the SVG spinner code itself, so no extra code is added. Either way, thanks all for collaborating in this! (Moving the issue credit from here into that one)