Comments (5)
@alantoa thanks for the great example, updated my code for anyone that comes across this.
from react-native-awesome-slider.
@Hannes1 Hi!
I know what you want, and I had this problem before too.
You needs are similar to Video Players.
You can see my video player source code, I think it will help you!
https://github.com/alantoa/react-native-reanimated-player/blob/main/src/index.tsx
from react-native-awesome-slider.
@Hannes1 thanks for the example, you're using prevProgress
ref but you're never actually using it, is this a leftover or it should be used somewhere? Thanks
from react-native-awesome-slider.
@Hannes1 thanks for the example, you're using
prevProgress
ref but you're never actually using it, is this a leftover or it should be used somewhere? Thanks
Hi, I think I tried to use the previous state to prevent to jumping around but in the end I removed it.. any improvement on my code would be appreciated 🙏
from react-native-awesome-slider.
I've managed to make it not to jump but I think I'm using a different audio player than yours (react-native-audio-player-recorder) and it's slightly different than your implementation. If you want me to share a gist or paste the logic here let me know.
Did you managed to fix it in your end?
edit: in my case I'm using it for audio messages in a chat room so I have an AudioManager.js that takes care of the seeking/play/stop/pause etc because there are multiple audio player instances at the same time on screen.
from react-native-awesome-slider.
Related Issues (20)
- App encounter ANR issue when using react-native-awesome-slider HOT 7
- Bug: Slider is not working on Android HOT 1
- [2.1.1] Thumb not moving after updating from 2.0.8 to 2.1.1 HOT 13
- Thumb of the step slider returns on the position the touch was started from
- Not working with reanimated v2.13.0 HOT 4
- Wrong progress is displayed after minimumValue/maximumValue is changed
- [v3] Web Support
- "Array size is not a small enough positive integer" when "step" is set to a number lower than 1 HOT 1
- Slider not updated when sharedValue.value is updated HOT 7
- NativeViewHierarchyManager: Unable to update properties for view tag error thrown in logcat android HOT 4
- The thumb doesn't follow when the `progress` value has actually changed HOT 6
- Logical AND operator (&&) in animated view return value instead of render nothing. HOT 1
- Silder into modal on Android not working HOT 2
- snapToStep doesn't work, the progress bar stays at the same place but the value changes HOT 2
- On initial render, progress shows incorrect value when `step` is set HOT 5
- How to set initial step? HOT 8
- Does this library support two thumb range selector? HOT 2
- Thumb "drag point" is not centered on thumb HOT 4
- Progress shows incorrect value when Step is set HOT 1
- isScrubbing is not set to false when tapping on the slider or thumb
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-awesome-slider.