Skip to content
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

为 Pagination 增加可指定 NPopSelect, NSelect 容器节点的参数 #3773

Closed
siaikin opened this issue Sep 26, 2022 · 1 comment
Closed
Labels
feature request New feature or request

Comments

@siaikin
Copy link

siaikin commented Sep 26, 2022

This function solves the problem (这个功能解决的问题)

naive-ui 大多数组件可以通过 to 选项设置弹出框的容器节点, 但是 Pagination 中的 sizePicker 和其他弹出框不支持通过 Pagination 组件设置 容器节点.

在 Web Components 或 Shadow DOM 中使用的情况下, 弹出框将被加载到 body 下, 这将导致弹出框的样式失效.

希望能够增加类似 "to" 的选项以支持指定容器节点.

Expected API (期望的 API)

siaikin@8d336df

这是我的示例提交

@github-actions github-actions bot added the feature request New feature or request label Sep 26, 2022
@07akioni
Copy link
Collaborator

OK,可以加

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants