Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scroll and Seekbar issue when using viewPager2 horizontally #1156

Open
berkayertan opened this issue Jul 2, 2024 · 3 comments
Open

Scroll and Seekbar issue when using viewPager2 horizontally #1156

berkayertan opened this issue Jul 2, 2024 · 3 comments
Labels

Comments

@berkayertan
Copy link

I'm trying to use horizontal viewpager but when i press the seekbar and try to move forward the video duration it's scrolling the video and also viewpager sample app has the same issue. How can i solve this ?

@Serkali-sudo
Copy link
Contributor

I think easiest way to fix it is using the custom-ui.
Custom ui uses native android views and it works well with viewpager when it comes to scrolling.

@BerkayErtann
Copy link

@Serkali-sudo Thanks i think best way is the custom ui like u said.

@PierfrancescoSoffritti
Copy link
Owner

You could also prevent clicks from reaching the player while scrolling.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants