Giter VIP home page Giter VIP logo

Comments (2)

chicio avatar chicio commented on May 27, 2024

Hi @MohamedSadek07 , thanks for using RangeUISlider in your project.
I checked a bit your issue, and seems like you're right: if I insert RangeUISlider inside a ScrollView it doesn't work.
After debugging for some time, it seems like the problem is not related to RangeUISlider itself. What is happening is that UIViewRepresentable in a ScrollView doesn't always respect the frame calculate on the UIKit side.
To solve the issue you can explicitly set an height for RangeUISlider, like I did in this example I added to the demo app (you can clone the repo and test it)

77dc262#diff-67933792635b8aef27826455098894c1b13e2cfc89a3e58721390ef15e034f5a

This is the result

Simulator.Screen.Recording.-.iPhone.15.Pro.-.2023-11-25.at.12.01.49.mp4

Let me know if you need any other information, and support my work by starring this repo โญ๏ธ. Thanks, Fabrizio.

from rangeuislider.

MohamedSadek07 avatar MohamedSadek07 commented on May 27, 2024

Thank you so much Fabrizio, it's working fine now.

from rangeuislider.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.