-
-
Notifications
You must be signed in to change notification settings - Fork 14.6k
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
feat(components): [el-pagination] add teleported
prop
#14072
Conversation
分页组件新增teleported参数 默认为true 便于用户控制size下拉框是否插入body closed element-plus#14070
👋 @boomboy4, seems like this is your first time contribution to element-plus.
|
🧪 Playground Preview: https://element-plus.run/?pr=14072 |
delete set teleported default value closed element-plus#14070
change the default value of teleported to true
teleported
prop
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
Co-authored-by: qiang <qw13131wang@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank for your contribution
…4072) * fix(components): [pagination] 修复toplayer全屏模式下分页下拉框无法显示问题 分页组件新增teleported参数 默认为true 便于用户控制size下拉框是否插入body closed element-plus#14070 * docs(docs): [pagination] Add a teleported attribute closed element-plus#14070 * fix(components): [pagination] teleported props default value delete set teleported default value closed element-plus#14070 * fix(components): [pagination] change the default value of teleported change the default value of teleported to true * Update docs/en-US/component/pagination.md Co-authored-by: qiang <qw13131wang@gmail.com> --------- Co-authored-by: shaojia.cheng <shaojia.cheng@arvetech.net> Co-authored-by: qiang <qw13131wang@gmail.com>
分页组件新增teleported参数 默认为true 便于用户控制size下拉框是否插入body
closed #14070
Please make sure these boxes are checked before submitting your PR, thank you!
dev
branch.Description
🤖 Generated by Copilot at 4a7e171
Added a
teleported
prop to theElPagination
andElPaginationSizes
components to enable or disable teleporting the pagination size component to the body element. This improves the flexibility and usability of the pagination component.Related Issue
Fixes #___.
Explanation of Changes
🤖 Generated by Copilot at 4a7e171
teleported
to control the teleportation of the pagination size component (link, link)teleported
prop from theElPagination
component to theElPaginationSizes
component in the template and the script (link, link)teleported
prop totrue
for theElPagination
component (link)