Comments (3)
A quick fix for this is to prevent animation of "contents" for the _textLayer
inside ASValuePopUpView
In - (id)initWithFrame:(CGRect)frame
, set the following options for _textLayer.actions
.
_textLayer.actions = @{@"bounds" : [NSNull null], @"position" : [NSNull null], @"contents" : [NSNull null]};
The text values will now update without any animation, solving this particular issue.
I'll need to look into this a bit closer to only disable the contents animation when the string length becomes shorter.
from asvaluetrackingslider.
Many thanks for this quick correction.
It will do the trick waiting for animating it again ;-)
from asvaluetrackingslider.
Many moons later…
The default is now to not animate the text (currently in development branch - will be merged to master on next release). Creating a mixed solution that would animate by default and temporarily stop animating when the results are glitchy would add code complexity for very little benefit.
from asvaluetrackingslider.
Related Issues (20)
- slider
- Add "tap to slide' feature HOT 1
- Swift, PopUp is hidden by tableview cell. HOT 5
- left side of bar color looses color when cell is reused HOT 1
- Compiler warning on Xcode 8 GM + fix HOT 1
- The document “Main.storyboard” requires Xcode 8.0 or later. HOT 2
- Keep popup open HOT 2
- Feature request: vertical slider? HOT 1
- Slider over borders will show incomplete HOT 2
- Tap to Slide
- Accessibility Support
- Carthage support
- PopupView background color change
- Create Slider Programmatically
- range slider HOT 1
- Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[ASValueTrackingSlider name]: unrecognized selector sent to instance 0x10218d2a0' HOT 1
- Multiple line popup text implicit animations
- Difficult to slide the exact value HOT 1
- pop up doesnt show on swift project HOT 2
- Popup off center on min and max value
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 asvaluetrackingslider.