Comments (2)
This is likely an issue in how PanResponder
works with useRef
. See https://snack.expo.dev/@chxryan/panresponder-caching-issue
I got inspired from https://stackoverflow.com/questions/58939572/how-to-use-panresponder-in-functional-components and tried useMemo
, and it worked.
from rn-vertical-slider.
I tried in my PR above but that is causing the slider value got reset on each re-render. I'll look into this when I have more time.
from rn-vertical-slider.
Related Issues (20)
- importing results in an error?
- BallIndicator result with float
- can publish new version in npm ? HOT 4
- There is something wrong ...when update to 1.1.0 HOT 6
- invarient violation: Module HMRClient is not a registered callable module(calling setup) HOT 6
- Slider not responding to touch interaction HOT 1
- How can i put decimals values to the slider?
- Component does not re-render with new value when parent is re-rendered. HOT 3
- ball indicator not updating HOT 6
- Invariant Violation: [263, "RCTView",{"height": "<<NaN>> "}] is not usable as a native method argument HOT 2
- Feature request: support tap events, and not just gestures
- Feature: Support multi-touch for two sliders to be used at the same time on Android
- Not working in scrollview
- onComplete is broken on 3.1.0 HOT 3
- crash when using reaniamted v3 HOT 2
- Cannot read property 'prototype' of undefined
- Docs are wrong and latest version breaks usage inside a scrollview HOT 1
- How to change value use javascript code
- onComplete never gets triggered on web 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 rn-vertical-slider.