Skip to content
This repository has been archived by the owner on May 1, 2024. It is now read-only.

[Bug] SwipeView inside SwipeView - not working #9007

Closed
Mikilll94 opened this issue Dec 23, 2019 · 3 comments
Closed

[Bug] SwipeView inside SwipeView - not working #9007

Mikilll94 opened this issue Dec 23, 2019 · 3 comments
Assignees
Labels
a/swipeview in-progress This issue has an associated pull request that may resolve it! p/Android s/unverified New report that has yet to be verified t/bug 🐛

Comments

@Mikilll94
Copy link

Description

When there is SwipeView inside another SwipeView, the internal SwipeView is not working. The swipe gestures are completely ignored.

This is my use case: I want to create a CollectionView with context actions, so I need to wrap every CollectionView item in a SwipeView. But I also want to have a customized pull to refresh functionality on a whole CollectionView. So I need to wrap the whole CollectionView in a SwipeView.

Steps to Reproduce

  1. Run this project
    CollectionViewTest.zip

  2. Swipe down on a CollectionView -> SwipeView is working, the activity indicator is shown

  3. Swipe right any CollectionView item -> SwipeView is not working. Nothing happens.

Expected Behavior

Nested SwipeView inside another SwipeView should work.

Actual Behavior

Nested SwipeView inside another SwipeView does not work at all.

Basic Information

  • Version with issue: 4.4.0.991265
  • IDE: 16.4.2
  • Platform Target Frameworks:
    • Android: Pie (9.0)
@Mikilll94 Mikilll94 added s/unverified New report that has yet to be verified t/bug 🐛 labels Dec 23, 2019
@hartez
Copy link
Contributor

hartez commented Dec 23, 2019

But I also want to have a customized pull to refresh functionality on a whole CollectionView. So I need to wrap the whole CollectionView in a SwipeView

Have you tried using a RefreshView for the refresh functionality?

@Mikilll94
Copy link
Author

@hartez
I know that there is a RefreshView, but I want to customize the refresh indicator. It is not shown in this example - this is just a simple presentation of a bug.

However, I think that SwipeView inside SwipeView should work. It is not stated in docs that you cannot nest SwipeViews.

@samhouts samhouts added the in-progress This issue has an associated pull request that may resolve it! label Jan 8, 2020
@MichaelShapiro
Copy link

@Mikilll94 Sorry for bothering on such an old and closed post. I'm facing identical issue but with maui now. Have you even found a solution or alternate approach for this use case?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
a/swipeview in-progress This issue has an associated pull request that may resolve it! p/Android s/unverified New report that has yet to be verified t/bug 🐛
Projects
None yet
Development

No branches or pull requests

5 participants