feat(components): [tabs] support scrolling via touch#24292
Conversation
Co-authored-by: fratzinger <[email protected]>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
📝 WalkthroughWalkthroughThe PR introduces touch scrolling for tab navigation. A new ChangesTouch scrolling implementation
Possibly related PRs
Suggested labels
Suggested reviewers
Poem
🎯 3 (Moderate) | ⏱️ ~20 minutes 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Warning There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure. 🔧 ESLint
ESLint install failed. For unrecoverable errors, disable the tool in CodeRabbit configuration. 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. Comment |
commit: |
|
Size Change: +1.88 kB (+0.13%) Total Size: 1.44 MB 📦 View Changed
ℹ️ View Unchanged
|
Coverage Report
File Coverage
|
||||||||||||||||||||||||||||||||||||||||||||
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: d5261192b7
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
🧪 Playground Preview: https://element-plus.run/?pr=24292 |
|
tabs的滚动为啥是transform而不是原生滚动嘞,现在加功能感觉好痛苦 |
这应该是从Element UI继承过来的,设计使然。“加功能好痛苦”具体指什么?有例子吗? |
单指本次改动,为了触摸屏能滚动还要监听触摸事件手动设置transform,如果原生滚动就不需要改了 |
|
我同意你的观点,也许将来可以重构。 |
|
@rzzf Thanks for your contribution! ❤️ |

Please make sure these boxes are checked before submitting your PR, thank you!
devbranch.close #24289
close #24094
follow up #23341
Summary by CodeRabbit