-
Notifications
You must be signed in to change notification settings - Fork 582
fix(tag-input): fix scroll position in horizontal scroll mode #6213
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
base: develop
Are you sure you want to change the base?
Conversation
Co-authored-by: liweijie0812 <[email protected]>
Co-authored-by: liweijie0812 <[email protected]>
commit: |
TDesign Component Site Preview Open
|
|
@copilot 新增标签后,滚动条不会自动滚动 |
Co-authored-by: liweijie0812 <[email protected]>
|
@copilot 添加新标签后滚动条不会自动滚动到末尾,该问题未修复 |
Co-authored-by: liweijie0812 <[email protected]>
Fixed in 29b97dc. The root cause was that the scroll was being applied to the wrong element ( |
|
@copilot GitHub Actions Delete |
Co-authored-by: liweijie0812 <[email protected]>

.t-inputinstead of.t-input__prefixupdateScrollElementto query the correct.t-input__prefixelement which has the scrollable stylesscrollToRightto refresh the scroll element reference before scrollingonWheelto handle bothdeltaXanddeltaYfor Mac trackpad and Windows mouse wheelOriginal prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.