fix(pickerview): 修改快速滚动偶现滑动错位问题#3278
Conversation
Walkthrough本次更改在滚轮组件中引入了 Changes
Sequence Diagram(s)sequenceDiagram
participant User
participant PickerRoller
participant isScroll
User->>PickerRoller: handleTouchStart
PickerRoller->>isScroll: isScroll.current = true
User->>PickerRoller: handleTouchEnd
PickerRoller->>isScroll: isScroll.current = false
PickerRoller->>PickerRoller: onTransitionEnd
alt isScroll.current == false
PickerRoller->>PickerRoller: stopMomentumScroll()
end
Suggested reviewers
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (1)
⏰ Context from checks skipped due to timeout of 90000ms (2)
🔇 Additional comments (5)
✨ Finishing Touches
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## feat_v3.x #3278 +/- ##
==========================================
Coverage 87.80% 87.80%
==========================================
Files 290 290
Lines 19101 19101
Branches 2940 2940
==========================================
Hits 16772 16772
Misses 2324 2324
Partials 5 5 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
…nto feat_v3.x
🤔 这个变动的性质是?
🔗 相关 Issue
💡 需求背景和解决方案
☑️ 请求合并前的自查清单
Summary by CodeRabbit