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

Can't use VisuallyHidden in Next.js #788

Closed
meoyawn opened this issue Jul 19, 2020 · 1 comment
Closed

Can't use VisuallyHidden in Next.js #788

meoyawn opened this issue Jul 19, 2020 · 1 comment

Comments

@meoyawn
Copy link

meoyawn commented Jul 19, 2020

🐛 Bug Report

Importing 'VisuallyHidden' in Next.js gives the following error: https://github.com/vercel/next.js/blob/master/errors/css-npm.md

🤔 Expected Behavior

Other components work just fine, so I expected VisuallyHidden to work too

😯 Current Behavior

Compilation error with Next.js https://github.com/vercel/next.js/blob/master/errors/css-npm.md

💁 Possible Solution

Not very experienced with frontend 😞

🔦 Context

Creating custom checkboxes and stuff

💻 Code Sample

import {VisuallyHidden} from '@react-aria/visually-hidden'

🌍 Your Environment

Software Version(s)
react-spectrum 3.0.2
Browser Chromium 84
Operating System macos 10.15.5

🧢 Your Company/Team

https://listenbox.app/

@devongovett
Copy link
Member

Duplicate of #760.

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

2 participants