[Feature Request] Overdrag support

Đang mở
#53 3 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
45/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Ít trao đổi
Công nghệ
react-native
Lĩnh vực
mobile

Hướng nghiên cứu

Start by reproducing the drag gesture described in the issue: drag the sheet past its maximum position, then reverse direction without releasing. Trace the bottom-sheet gesture entry point and identify the existing behavior that disregards the overdrag; done means the sheet responds naturally when the gesture reverses.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

enhancement

Currently if you drag the sheet to the top beyond the max intent the gesture gets disregarded completely. Not only does it look a little unnatural and rigid, but my main peeve is that when you initially start dragging it to the top, dragging it to the button with the same motion also doesn't trigger any movement of the sheet.
Hope it's a not a shortcoming of native implementation.

Ngôn ngữ chính
Kotlin
Star
536
Fork
24
Merge trung bình
12 giờ 10 phút
Pull request đã merge (30 ngày)
22

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của software-mansion/react-native-bottom-sheet

Tất cả issue của software-mansion/react-native-bottom-sheet

Issue tương tự

Thêm issue về Kotlin

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.