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

Scrolling, ListView, CollectionView all get cut off on Android #29

Open
bradrice opened this issue Mar 4, 2024 · 16 comments
Open

Scrolling, ListView, CollectionView all get cut off on Android #29

bradrice opened this issue Mar 4, 2024 · 16 comments

Comments

@bradrice
Copy link

bradrice commented Mar 4, 2024

I the content is scrolling and it goes out of the drawer it does not scroll on Android.

Everything works perfectly on iOS. I'm trying to get scrolling lists working in a drawer for Android.

@farfromrefug
Copy link
Member

@bradrice did you try with NestedScrollView ?
BTW CollectionView is working fine here. I use it in all my apps

@bradrice
Copy link
Author

bradrice commented Mar 5, 2024

I can't seem to figure out how to use NestedScrollView in angular. However, I don't really have nested scrollviews, they are independent in drawer windows where they don't work.

Here is what I get:

Here is ios https://drive.google.com/file/d/1ZXwrFjVOim5w-di1IcWHPzGvzywW1oNV/view?usp=drive_link
Here is Android: https://drive.google.com/file/d/1pn6sxyPDwFBL7GD8XA85PVXxCdGkaOnF/view?usp=drive_link
I don't really have nested scrollviews they are independent and in the community drawer

@farfromrefug
Copy link
Member

nested term iOS used based on the android native class name. and I am. almost certain you need it ! again I know there was an angular example on discord

@bradrice
Copy link
Author

bradrice commented Mar 5, 2024

@bradrice did you try with NestedScrollView ? BTW CollectionView is working fine here. I use it in all my apps

Are your collectionviews going out of the bounds of the drawer so you have to scroll to get to the bottom?

@farfromrefug
Copy link
Member

yes they do

@ignacio68
Copy link

I can't do scroll in Android, too. In iOS works fine

@farfromrefug
Copy link
Member

@bradrice @bradrice indeed by default the drawer gesture will interfeer with a listview.
to fix this you need to add gesture settings like this https://github.com/Akylas/oss-weather/blob/master/app%2Fcomponents%2FCompareWeatherSingle.svelte#L292
I will think about making this the default. you might not need the minDist setting

@ignacio68
Copy link

@farfromrefug In my application works better with these parameters:

:gestureHandlerOptions="{
failOffsetYStart: -10,
failOffsetYEnd: 10,
}"

@bradrice
Copy link
Author

I'm still not able to use a Scrollview in the drawer with gestureHandlerOptions

@farfromrefug
Copy link
Member

@bradrice then share a simple reproducible example (not angular please) to show what you are trying to do and whats not working

@bradrice
Copy link
Author

bradrice commented Mar 27, 2024 via email

@farfromrefug
Copy link
Member

@bradrice sorry to hear that. non-angular is also because I know the core component to work and reproducing it without angular tells me there is a real issue with the plugin and not only with the angular wrapper

@bradrice
Copy link
Author

bradrice commented Mar 27, 2024 via email

@farfromrefug
Copy link
Member

@bradrice no worries if you can in the future it would be great yes (vue works too as no wrapper is needed).
But finish your app first!

@bradrice
Copy link
Author

bradrice commented Mar 27, 2024 via email

@farfromrefug
Copy link
Member

@bradrice possible. Multiple is not the most common use case. But it should work!

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

No branches or pull requests

3 participants