Comments (8)
Of course! The first screenshot has the issue after the animation, This is Safari 12.1.1 (14607.2.6.1.1) and appears to share the same issue with iOS
After removing the motionfilter from the element for the figure it seems to correct itself (See number 5)
Thanks so much again :D
from bounty.
Sure, I'll see what I can do π Cheers!
from bounty.
Ah Gotcha
I'll try resetting the filter attribute after the animation completes,
Thanks for the quick reply @coderitual, and thanks again for the great script!
from bounty.
On closer inspection it seems to be an issue with the style filter: url("#motionFilter-x-xxxxxxxxx");
- Safari in general (macOS too) doesn't seem to dump this filter on callback and leaves it enabled resulting in semi transparent text
from bounty.
Hi, thanks for the feedback. Yea there is a lot of issues related to filters across different browsers. Could attach some screenshots with the issue?
from bounty.
Uh oh, you are right. I think I saw this before. The solution might be to remove filters after animation finishes. Are you ok to work on a PR fixing this?
from bounty.
Hey there,
Great script, thanks for sharing!!
I'm having the same issue with the Pale colors, but not entirely sure what you mean by
removing the motionfilter from the element for the figure
Could you please elaborate on how I can fix this, or where to look?
Thanks!
from bounty.
Hi @tylerdcorwin
During animation there are filters applied to all elements which are being moved around (motion blur). This is done by setting specific filter id on particular element
Line 13 in 44a3735
Value of the motion filter is set to 0 after digit reaches destination (we donβt need motion blur when there is no motion). The filter is still applied though which causes issue. We can remove it from digit entirely (by resetting filter attr) after animation ends.
from bounty.
Related Issues (20)
- how to animate the number change without the slot machine effect ? HOT 5
- broken on safari HOT 11
- optimize svg loading "especially for chrome" HOT 6
- remove prefixed 0s HOT 2
- SVG Attribute heights HOT 4
- "initialValue" to "value" does't work well on Firefox HOT 8
- Provide unminified es5 version of library HOT 1
- Letter spacing and text-shadow on Chrome/Firefox HOT 13
- Eplorer compatibility HOT 3
- Text rendering in Chrome HOT 3
- Problem with selection HOT 1
- Duration doesn't seem to work HOT 2
- Make the text animation from left to right HOT 1
- Update and or destroy method HOT 1
- Accessibility HOT 1
- Letter Spacing doesn't seem to work HOT 1
- Background for each digit?
- Performance on Safari is very slow, barely works HOT 6
- Upgrade to the newest webpack
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 bounty.