feat: searchbar follows keyboard

This commit is contained in:
Adrian Castro
2024-02-15 22:50:12 +01:00
parent 37360c4277
commit 2723c44b08
2 changed files with 54 additions and 6 deletions

View File

@@ -60,7 +60,7 @@ const VideoSlider = ({ onSlidingComplete }: VideoSliderProps) => {
if (!isDragging.value) {
translateX.value = clamp(valueX, 0, width - knobSize_);
}
}, [valueX, isDragging.value]);
}, [valueX, isDragging.value, translateX, width]);
const _onSlidingComplete = (xValue: number) => {
"worklet";