Closed kuzomenskyi closed 6 months ago
Turns out that not only minimumValue and maximumValue should be provided with appropriate values, but the same is right for the value binding itself, which was not clear for me after reading the documentation.
So I have forked the repo and created the pull request. Please, consider merging it: https://github.com/yonat/MultiSlider/pull/104
Thanks!
True, if you set empty value
, it means zero thumbs will be shown - this is the expected behavior.
Description of the problem: I have added the slider on SwiftUI view but the view is not displayed correctly. The one thing displayed is the blue line, instead of the whole interface. It works fine with UIKit though.
Minimal project that reproduces the problem (so I'll be able to figure out how to fix it): I have created the project specifically to reproduce the bug. Here is the link: https://github.com/kuzomenskyi/MultiSliderIsNotDisplayedCorrectly
Here is how it looks like on Xcode Preview:
Here is how it looks like on Simulator: