Giter Site home page Giter Site logo

Comments (6)

seratonik avatar seratonik commented on May 29, 2024 2

Experiencing the same dragging issue on iOS in both Simulator and Device in my own project (it only seems to be picking up the Y axis of the drag, not the X):

react-native-cli: 1.2.0
react-native: 0.41.2

Regarding the previous comment, I believe the original example just needs its react-native-svg dependency updated to work.

UPDATE: After some additional testing, the setCircleCenter function is being called early by onLayout resulting in an incorrect px position before the view has fully settled. I added a delay and it corrected the issue - however that's not very practical.

from react-native-circular-slider.

bartgryszko avatar bartgryszko commented on May 29, 2024

Interesting. It's android? Does original example works without an issue?

from react-native-circular-slider.

Andersos avatar Andersos commented on May 29, 2024

It is on iOS. Have not gotten to test on Android yet. I can try and run the original example.

from react-native-circular-slider.

Andersos avatar Andersos commented on May 29, 2024

Running the orignal example by cloning it and running react-native run-ios produces this error:

** BUILD FAILED **

The following build commands failed:

CompileC /Users/anders/dev/react-native-circular-slider/example/Bedtime/ios/build/Build/Intermediates/RNSVG.build/Debug-iphonesimulator/RNSVG.build/Objects-normal/x86_64/RNSVGRect.o Shapes/RNSVGRect.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler

(1 failure)

Installing build/Build/Products/Debug-iphonesimulator/Bedtime.app
An error was encountered processing the command (domain=NSPOSIXErrorDomain, code=2):
Failed to install the requested application
An application bundle was not found at the provided path.
Provide a valid path to the desired application bundle.
Print: Entry, ":CFBundleIdentifier", Does Not Exist

Command failed: /usr/libexec/PlistBuddy -c Print:CFBundleIdentifier build/Build/Products/Debug-iphonesimulator/Bedtime.app/Info.plist
Print: Entry, ":CFBundleIdentifier", Does Not Exist

Trying to run it as instructed in the README With XCode produces this error:

screen shot 2017-02-10 at 12 23 59

Version of react-native:

Bedtime anders$ react-native -v
react-native-cli: 2.0.1
react-native: 0.39.2

Will try and update version as well.

from react-native-circular-slider.

bartgryszko avatar bartgryszko commented on May 29, 2024

Hopefully fixed in eab7975

from react-native-circular-slider.

iskWang avatar iskWang commented on May 29, 2024

circular
(iPhone 6 - iOS 10.2)

Hi, I've similar issue but android work fine(a little delay) and original example doesn't working for me.

By yarn.lock

  • react-native 0.37
  • react-native-svg 4.3.3

my solution

  • package.json version not update, so npm(yarn) download 0331652 version
  • I follow eab797 update CircularSlider.js (without package.json), it's work fine in ios :)
  • but android still delay too.

from react-native-circular-slider.

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.