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

Current implementation of anytypeSheet have no interactive drag capabilities #2208

Open
3 tasks done
ignatovv opened this issue Oct 11, 2024 · 0 comments
Open
3 tasks done

Comments

@ignatovv
Copy link
Member

ignatovv commented Oct 11, 2024

Have you read a contributing guide?

  • I have read CONTRIBUTING.md
  • I have searched the existing issues and didn't find any that were similar
  • I have considered creating a pull request with fixes instead of a bug report and want to proceed

Current Behavior

Current implementation of .anytypeSheet used for popup like presentation (object settings for example) have no interactive drag capabilities. It feels quite odd, you still can swipe popup down, but there is no interactivity while doing it.

Screen.Recording.2024-10-11.at.10.27.57.mov

Expected Behavior

Something resembling native components

Screen.Recording.2024-10-11.at.10.28.38.mov

Steps To Reproduce

Open object/set settings menu

Environment

Any

Anything else?

  • AnytypeSheet doesn't need to add the DragIndicator on its own. Clients will add it if applicable.
  • Component should support keyboard handling. Swiping when keyboard is visible.
  • Drag gesture should work anywhere on the screen and will not conflict with horizontal scrolls inside the screen.
  • The size of the content should remain consistent and not shrink during dragging.
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

Successfully merging a pull request may close this issue.

1 participant