Skip to content
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

When using a custom spinner, the spinner isn't centered with text #37

Open
AloysiusParedes opened this issue Apr 17, 2019 · 4 comments
Open

Comments

@AloysiusParedes
Copy link

I am trying to use https://github.com/davidhu2000/react-spinners

and when I use it, the spinner is not aligned with text

Screen Shot 2019-04-17 at 3 12 23 PM

<LoadingOverlay active={!this.state.isLoaded} spinner={<PulseLoader color={"var(--bluePrimary)"} />} text="Loading data..." fadeSpeed={0} styles={{ wrapper: { width: "100%", height: "100%" } }} >

@derrickpelletier
Copy link
Owner

can you throw a sample up so i can look at it live

@lishine
Copy link

lishine commented May 15, 2019

Hi @derrickpelletier ,
Same here, using this:

 <LoadingOverlay active={loading} spinner={<BounceLoader />} text="Loading...">

Note: it is Next.js
https://i.imgur.com/f0nnpri.gifv

@raxod502
Copy link

@derrickpelletier Any update here? This seems like a really basic feature, so perhaps we are missing something about the intended usage of your library.

@raxod502
Copy link

Ah, I have found that if I use ScaleLoader instead of BounceLoader then the problem does not occur. I could not tell you why.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants