Skip to content

Slider range#35

Open
Kiro-tagama wants to merge 7 commits intoMobilecn-UI:mainfrom
Kiro-tagama:slider-range
Open

Slider range#35
Kiro-tagama wants to merge 7 commits intoMobilecn-UI:mainfrom
Kiro-tagama:slider-range

Conversation

@Kiro-tagama
Copy link
Copy Markdown

Hi, I created a slider but I'm not sure about the performance
@carlos-garciamoran @sumansid

@sumansid
Copy link
Copy Markdown
Contributor

Can you add some screenshots or a video displaying how it works?

</GestureDetector>
</View>
</GestureHandlerRootView>
{/* Debugging info - remove or hide in production */}
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove the commented parts

@Kiro-tagama
Copy link
Copy Markdown
Author

betaSliderVideo.mp4

useSlider

in video is explicit the jump in animation, but i don't know what's the problem

i'm use

  • import debounce from 'lodash.debounce';
  • react-native-gesture-handler
  • react-native-reanimated

@sumansid thanks for help and review

@Kiro-tagama
Copy link
Copy Markdown
Author

and now scroll control breaks slider gesture

@sumansid
Copy link
Copy Markdown
Contributor

sumansid commented Sep 8, 2024

@Kiro-tagama in the video, the slider seems very slow. Can you confirm that? I cannot merge it if the performance is slow.

@Kiro-tagama
Copy link
Copy Markdown
Author

@Kiro-tagamano vídeo, o slider parece muito lento. Você pode confirmar isso? Não posso mesclá-lo se o desempenho for lento.

There is no performance problem, but there is a conflict in the scroll because there is vertical and horizontal interaction creating conflict in
I'm testing again on my emulator and physical device, and the video is from my emulator and because of the memory usage it creates this "slowness"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants