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
[BUG] - <Spinner/> not loading with NextJS application #2922
Labels
Comments
@wingkwong I just created this project yesterday with the cli: npx create-next-app@latest --template typescript my-app and everything else is of default configs. My next.config.mjs:
Same list of dependencies, here is devDependencies:
globals.css (I did add some extra CSS):
|
@wingkwong here is the stackblitz link |
wingkwong
added
🐛 Type: Bug
Something isn't working
📦 Scope : Components
Related to the components
and removed
🔎 Status: More Info Needed
labels
May 2, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
NextUI Version
^2.3.6
Describe the bug
Tried importing the component into my next app but it is not showing in the ui.
dependencies:
"@nextui-org/react": "^2.3.6",
"@nextui-org/spinner": "^2.0.28",
"next": "14.2.3",
"react": "^18",
"react-dom": "^18"
Still showing the element in the DOM but just not displaying:
<div aria-label="Loading" class="relative inline-flex flex-col gap-2 items-center justify-center"><div class="relative flex w-8 h-8"><i class="absolute w-full h-full rounded-full animate-spinner-ease-spin border-solid border-t-transparent border-l-transparent border-r-transparent border-3 border-b-secondary"></i><i class="absolute w-full h-full rounded-full opacity-75 animate-spinner-linear-spin border-dotted border-t-transparent border-l-transparent border-r-transparent border-3 border-b-secondary"></i></div></div>
page.tsx for demo purpose:
Your Example Website or App
No response
Steps to Reproduce the Bug or Issue
Expected behavior
I expected to see a spinner displayed but I see an empty page. The component is in the DOM, just not being displayed.
Screenshots or Videos
No response
Operating System Version
macOS
Browser
Chrome
The text was updated successfully, but these errors were encountered: