Comments (9)
Well it works for me now :) Thank you.
from tippyjs.
That error occurs when it tries to stringify itself: http://stackoverflow.com/questions/11616630/json-stringify-avoid-typeerror-converting-circular-structure-to-json
So I guess .test
is the same element as #test
?
Or.. maybe something else. I think I'll use a different method and do deep cloning to avoid problems
from tippyjs.
Well no, I added '.test' for the example but it was in fact a selector in a variable. Sorry I can't easily produce something for you to see the issue. Feel free to close this one :)
from tippyjs.
For a second I was wondering how stringify handled HTML Elements being passed through, but it seems to work without errors here: https://codepen.io/anon/pen/aWmEZL
from tippyjs.
Yes I started to test this way, that's why I have doubts with my webpack config. I just can't find why. I tried to export/expose Tippy as a global, but with the same result (a string with the selector works, but not an element).
from tippyjs.
Can you paste the full code here?
...And I just noticed from that pen that if a tooltip is flipped, clicking on it causes glitchy behavior instead of a smooth hide... more fixes to come
Edit: ^ was something I removed recently because I thought it was pointless, turns out it wasn't -_-
from tippyjs.
I've switched to using Object.assign
to clone the individual settings now since a deep copy isn't needed (popperOptions can't be defined in the HTML), maybe it will work now.
Check v0.8.2: https://github.com/atomiks/tippyjs/releases/tag/v0.8.2
from tippyjs.
Sorry I can't paste the code, so I made a new webpack projet. I can't reproduce the bug tough.. I'll try your last version thanks.
from tippyjs.
Any luck?
from tippyjs.
Related Issues (20)
- Building with vite does not remove "This is a development-only message." message
- Wrong initial animation not working in Angular production mode
- Nested tippies HOT 1
- tippy doesnt load sometimes
- Uncaught TypeError: Cannot read properties of null (reading 'body')
- popups appearing outside viewport on iPad HOT 1
- Is there a reason to reset state.attributes.popper?
- dblclick
- It's undocumented whether tippies should be destroyed when no longer needed
- Issue with Custom SVG Arrow Rendering on Top of Tippy.js Tooltip HOT 1
- Nesting
- Use interactive tooltips in svg context
- Content in Tippy js doesn't react on clicks and another
- ERROR ReferenceError: document is not defined
- Show tippy on selected text of other webpages
- spurious hide() after destroy() related to addDocumentPress() without matching removeDocumentPress()
- data-reference-hidden not working correctly on animation
- Allow `onClickOutside` to conditionally not hide the tippy
- No tooltips are shown (since new were added) HOT 1
- Painless use: Just pull content from the title attribute HOT 2
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.