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

UIRefreshControl and FloatingPanel #605

Open
artem-shmatkov opened this issue Aug 10, 2023 · 2 comments
Open

UIRefreshControl and FloatingPanel #605

artem-shmatkov opened this issue Aug 10, 2023 · 2 comments

Comments

@artem-shmatkov
Copy link

Hi! Is there a way to use UIRefreshControl? What settings should I enable?
Current result - I'm adding UIRefreshControl to my UICollectionView, disable removalInteraction, disable dismissalTapGestureRecognizer, trying to pull down my collection and whole FloatingPanel pulling down.
I expect something like this - if dismissal swipe is disabled and there is UIRefreshControl in my scrollView it should be possible to pull down.

Simulator.Screen.Recording.-.iPhone.14.-.2023-08-10.at.14.32.53.mp4
@Zeynal7
Copy link

Zeynal7 commented Aug 28, 2023

I think, you have enabled tracking the scroll view. You can try to untrack it, so your refresh would work.
untrack(scrollView: )

@scenee
Copy link
Owner

scenee commented Sep 1, 2023

As @Zeynal7 mentioned, your need to stop the panel from tracking the collection view on the most expanded state.

According to the above description, I think you expect two intentions from the pull-down interaction. But, as far as I can think of, there is no way for a program to infer the user's intent in pulling down the collection view, whether it indicates to refresh content or move the panel down 🤔

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