Comments (3)
Currently working hacking around this by setting the opacity to 0, and then back to 1 when the stroke starts.
$canvas.lazylinepainter({
// ...
'strokeOpacity': 0,
'onStrokeStart': function(data) {
data.el.style.strokeOpacity = 1;
}
});
Note this won't work for animations you play repeatedly/loop, you'll have to find some way of resetting the opacity.
Also I seem to have ran into a bug where onStrokeStart isn't called for the first path for a certain set of artwork short (duration) paths.
from lazy-line-painter.
The same is happening on my Chrome since the last few updates. My current version is 47.0.2526.73 m.
from lazy-line-painter.
Same Issue on:
- Chrome 47.0.2526.73 m
- IE 10.0.9200.17556
- Firefox 37.0.2
Works fine on:
- Chrome 46.0.2490.86 m
- Opera 33.0.1990.115
(All Windows 8 or 10, jquery.lazylinepainter-1.7.0.min.js)
We upgraded the one on Chrome 46.0.2490.86 m to Chrome 47.0.2526.73 m; which made it show the dots.
from lazy-line-painter.
Related Issues (20)
- Dots appearing before paths animate HOT 1
- Is it possible to fill the SVG graphic after the lines are painted HOT 3
- Non-stop looping... HOT 1
- Cant get multiple animations to work
- [BUG] "I" are removed from original SVG HOT 1
- How to use in Visual Composer? HOT 1
- Animation on viewport and reset? HOT 1
- Would you please update npm? HOT 3
- Refocussing Chrome tab resumes playback HOT 1
- Not working with Microsoft Edge browser
- How do I make my svg render as is when js is disabled HOT 1
- Safari - Path showing first point before animation starts
- Download Button Getting Cut Off
- Safari - getPointAtLength error
- ReferenceError: window is not defined HOT 2
- I'm trying to use this with Nextjs but i don't know where to start or how to integrate it
- lazy_line_painter__WEBPACK_IMPORTED_MODULE_1__.LazyLinePainter is not a constructor
- no color in the generated files
- Demo website is down HOT 2
- Website link incorrect HOT 4
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 lazy-line-painter.