-
Notifications
You must be signed in to change notification settings - Fork 20
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
fix: transform logic #38
Conversation
🎊 PR Preview 344e2bb has been successfully built and deployed to https://react-component-segmented-preview-pr-38.surge.sh 🕐 Build time: 181.143s 🤖 By surge-preview |
这个 ref demo 好像没有动画了 https://react-component-segmented-preview-pr-38.surge.sh/demo/refs/ |
Codecov Report
@@ Coverage Diff @@
## master #38 +/- ##
===========================================
- Coverage 100.00% 98.94% -1.06%
===========================================
Files 1 3 +2
Lines 81 95 +14
Branches 17 18 +1
===========================================
+ Hits 81 94 +13
- Misses 0 1 +1
📣 Codecov can now indicate which changes are the most critical in Pull Requests. Learn more |
看了一下 composeRef 没有 memo 导致每次 render 都是新的 func,让 container.current 用的时候变 null 了。fixed,thx~ |
resolve ant-design/ant-design#35265
有几个原因:
nth
因为 CSSMotion 转换中,thumb 节点也算在 nth 中导致计数不正确修复:
querySelectAll
选择选项元素