Comments (8)
Likely a Next.js minification bug, was also filed here: atomiks/tippyjs#1132
from tippyjs-react.
I have exactly the same issue after upgrading to next 13.4.11 (from next 12). downgrading to 13.4.9 fixed the issue for me.
from tippyjs-react.
I'll be fixed by swc-project/swc#7702 as indicated here: vercel/next.js#53151 (comment)
from tippyjs-react.
Same issue. Not using the new app directory, so not sure what the fallout is from this last upgrade...
Been meaning to drop this dead package for awhile now... guess that time has come.
from tippyjs-react.
Hi, I believe the problem might be SWC. I've set up a playground example here
I've tested in Next.js and running with swcMinify
set to false works. So I guess that's a pretty good indicator anyway.
For completeness sake, what happens is that:
Gets minified into an empty object, and calling fn()
on it, crashes out.
from tippyjs-react.
I ran into this issue and forked this repo with a temporary fix. I am filtering the plugins list and hard-coded the classNamePlugin in the two places it was being imported as a temporary workaround. I plan on switching back to this repo as soon as SWC stops doing what it's doing. I have no plans to support other bug fixes or changes, but use it if you want:
https://github.com/aslakson/tippyjs-react
yarn add @aslakson/tippyjs-react
from tippyjs-react.
Same issue for me started with nextjs 13.4.10
from tippyjs-react.
This appears fixed for me now as of NextJS v13.4.15
Thank you team!
from tippyjs-react.
Related Issues (20)
- Breaking after update to React 18 HOT 10
- Zoom of page and wrong positioning HOT 3
- Not able to set different placement for different targets of the same singleton HOT 1
- [FEATURE] Add Tippy as tooltip library
- Tooltip position not updated on first time mousehover , until mouse does not move
- Custom `content` type for Headless Tippy Singleton
- Property `aria-expanded` stays false on strict mode
- Nested tippies and double tippies
- Headless Singleton calls render ahead of time
- When I put large text, the box doesn't fill all HOT 1
- Typescript 4.9.4 error @popperjs/core: This type parameter might need an `extends Obj` constraint.
- Inertia React HOT 1
- Error in Nextjs 13
- Cannot render tooltip for svg elements
- Error in production, Tippy js not working after next js build HOT 3
- Issue with dynamic theme
- Error while updated nodejs version
- HTML only shown as regular text
- ESC key should hide tooltip for accessibility
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tippyjs-react.