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

Unable to drag driving scrollview to change notch level. #47

Open
louwe opened this issue Sep 29, 2023 · 1 comment
Open

Unable to drag driving scrollview to change notch level. #47

louwe opened this issue Sep 29, 2023 · 1 comment

Comments

@louwe
Copy link

louwe commented Sep 29, 2023

I discovered an interesting bug where if:

  • Sheet has a scrollable list with the list set as the driving scrollview.
  • Start from 0 rows.
  • Reload with rows greater than 0.

Result:
The sheet will no longer be draggable using the driving scrollview to change notch levels, only by using views that are not part of the list (ie. grabber). At this point, the only way to get the drag to update notch level functionality back is by having a button that programmatically set the notch to a different level at least once. Only then, will the drag to change notch level functionality will be restored.

I am running:

  • Xcode 14.3.1.
  • iOS 16.4.
  • DynamicOverlay 1.0.2.

Is this a quick fix or is it more involved? Thanks for the great library!

@louwe louwe changed the title Unable to drag to dismiss Unable to drag driving scrollview to change notch level. Sep 29, 2023
@gaetanzanella
Copy link
Collaborator

Hi @louwe could you provide a sample code? 🙏

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

2 participants