-
Notifications
You must be signed in to change notification settings - Fork 1k
(Spinner) fix: keep the correct size #6277
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
@buberdds Thank you for submitting this PR. Trying to understand the issue a little more is it the sizes of the spinner in which your adding the |
They way I use Spinner is similar to storybook example. Steps to repro
with
|
@buberdds thank you I see the issue sorry I didn't realize this was on a smaller screen makes sense now. The
|
d84e0dd
to
942ffa4
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
3dc5e5d
to
619dd84
Compare
What does this PR do?
Adds
min-width
css rule to Spinner to keep correct size. Usually, the issue is visible on mobile devices where content can squeeze Spinner component.Where should the reviewer start?
Spinner.js
What testing has been done on this PR?
Manual/snapshot
How should this be manually tested?
Enable Responsive Design mode in dev tools and validate Storybook
Do Jest tests follow these best practices?
screen
is used for querying.userEvent
is used in place offireEvent
.asFragment()
is used for snapshot testing.Any background context you want to provide?
Spinner is not keeping its original size.
What are the relevant issues?
Screenshots (if a appropriate)
with

min-width
Do the grommet docs need to be updated?
No
Should this PR be mentioned in the release notes?
No
Is this change backwards compatible or is it a breaking change?
backwards compatible