Comments (7)
Hi @TofPlay ,
thanks (again for your feedback). I will investigate as soon as possible the problem.
PS remember to support my work by โญ๏ธ starring โญ๏ธ my repository
from rangeuislider.
Hi @TofPlay ,
I opened a MR with the fix. Can you check/test it and provide some feedback if it works as expected?
I already added some UI/integration tests but I want also your approval.
In any case I will eventually merge in the next days.
Thanks,
Fabrizio.
from rangeuislider.
Hi @chicio,
Fix defaultValueRightKnob
not defaultValueLeftKnob
because isValidForLeftKnob
method return false
from rangeuislider.
@TofPlay are you sure you're setting a valid value for the left knob with respect to the scale?? Because if you look at the demo app inside RangeUISlider you can find a new screen where I'm testing the fix and it works for both knob (see video below).
Screen.Recording.2021-02-16.at.08.56.10.mov
Remember also that you have to set the defaultValueRightKnob
not defaultValueLeftKnob
AFTER you set new scale (because the checks contained in the isValid...Knob
are done using the scale values). Have a look at the new demo controller ChangeKnobsProgrammaticViewController to see a usage example.
If it doesn't work, can you share more details about how are you using RangeUISlider? Let me know if the information above solves your problems.
from rangeuislider.
@TofPlay any news? I tested a lot the feature again it seems fine to me. I'm going to merge in a between today and tomorrow. Thanks.
from rangeuislider.
@chicio sorry I'm busy with other higher priority tasks. I don't have time to really test. For the moment your component has been removed from the project. We will look at it again when we resume the functionality that uses it.
from rangeuislider.
Ok @TofPlay no problem. So I will merge it and release a new version (that you can test later). Thank you @TofPlay
from rangeuislider.
Related Issues (20)
- Add SwiftLint support
- Add code beat support HOT 1
- rangeNotSelectedColor issue HOT 2
- Moving labels under knobs HOT 6
- How to reset Slider HOT 1
- how to reset slider to initial value. HOT 7
- Add iPad build to CI + supported platform ๐ท
- Add codecov support ๐งช
- Can't reset min value HOT 3
- transparent selected and not selected color
- How to define a minimum distance between the two ranges ? HOT 1
- View does not respond if wrapped in a scrollview. HOT 2
- Building for "Any iOS Device (arm64)" fails HOT 3
- Detect Programatic change. HOT 8
- barBorderColor crash HOT 1
- changeLeftKnob(value:), changeRightKnob(value:) and Rxswift is not working.
- Can't I get the minValueSelected and maxValueSelected values directly?
- func changeLeftKnob(value: CGFloat), func changeRightKnob(value: CGFloat) didn't work
- Not working when used as a part of my SwiftUI View. 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 rangeuislider.