Comments (6)
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.
Interesting. It's android? Does original example works without an issue?
from react-native-circular-slider.
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.
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:
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.
Hopefully fixed in eab7975
from react-native-circular-slider.
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)
- Layout broken with RN 0.48 HOT 10
- Become a maintainer of this package HOT 6
- Tried to register two views with the same name RNSVGPath HOT 3
- How to Restrict BedTime Marker not to move beyond 0 ? Any Hack ?
- CircularSlider not slide on IOS HOT 16
- Some informations
- Undefined is not an object (evaluating '_react2.PropTypes.number') HOT 6
- how can i make this work on reactjs HOT 7
- ClockFace and circle is placed in wrong position HOT 3
- Component do not slide on Android
- I want the same for 33, 100 ,1000 instead of 360 .Do any one has any idea? HOT 1
- Ticks do not line up correctly with numbers HOT 1
- Cannot read property 'number' of undefined HOT 2
- How can I limit the travel range of an icon?
- Touch responsiveness of slider inaccurate after navigating to component using React Navigation HOT 1
- Suport for typescript HOT 4
- update needed
- Project status ?
- Unable to use in expo go HOT 2
- Cnnot read property 'number' of undefined in ClockFace HOT 1
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 react-native-circular-slider.