Spinner in URLPopover positioned incorrectly #37070
Labels
[Feature] Link Editing
Link components (LinkControl, URLInput) and integrations (RichText link formatting)
[Status] In Progress
Tracking issues with work in progress
[Type] Bug
An existing feature does not function as intended
Description
The spinner loading indicator that can appear when typing in a URLPopover.LinkEditor component seems to be have incorrect layout due to invalid CSS properties for it.
Step-by-step reproduction instructions
core/image
) block.Screenshots, screen recording, code snippet
Incorrect compiled CSS is the
right
andbottom
properties:which is compiled from here:
gutenberg/packages/block-editor/src/components/url-input/style.scss
Lines 48 to 49 in 3da717b
and also this is incorrect CSS for the
bottom
property:which is compiled from here:
gutenberg/packages/block-editor/src/components/url-popover/style.scss
Line 76 in 3da717b
This positions the spinner as below (see bottom left corner, the bit of gray is the spinner):
Here, I manually edited the
bottom
andright
properties to8px
which improves it, but I am not sure what the ultimate value should be (one of the values from$input-padding
I would presume?).Environment info
WordPress 5.8.2, developing with a custom theme.
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes
The text was updated successfully, but these errors were encountered: