Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

n-popover arrow position error #916

Closed
zmtlwzy opened this issue Aug 19, 2021 · 3 comments
Closed

n-popover arrow position error #916

zmtlwzy opened this issue Aug 19, 2021 · 3 comments
Labels
bug Something isn't working

Comments

@zmtlwzy
Copy link
Contributor

zmtlwzy commented Aug 19, 2021

TuSimple/naive-ui version (版本)

2.16.4

Vue version (Vue 版本)

3.2.4

Browser and its version (浏览器及其版本)

Microsoft Edge(92.0.902.73)

System and its version (系统及其版本)

codesandbox

Node version (Node 版本)

Reappearance link (重现链接)

https://codesandbox.io/s/dreamy-shadow-gvd6z?file=/src/Demo.vue

Reappearance steps (重现步骤)

n-popover default slot use n-ellipsis

Expected results (期望的结果)

When a component is nested, the arrow position of the dialog box don not inherits the parent component.

Actual results (实际的结果)

When a component is nested, the arrow position of the dialog box inherits the parent component.

Remarks (补充说明)

@github-actions github-actions bot added the untriaged need to sort label Aug 19, 2021
@zmtlwzy zmtlwzy changed the title Arrow position error n-popover arrow position error Aug 19, 2021
@Volankey Volankey added bug Something isn't working and removed untriaged need to sort labels Aug 19, 2021
@Volankey
Copy link
Collaborator

May be same as #872 .

@zmtlwzy
Copy link
Contributor Author

zmtlwzy commented Aug 19, 2021

image

@XieZongChen XieZongChen self-assigned this Aug 19, 2021
@07akioni
Copy link
Collaborator

07akioni commented Aug 19, 2021

@amadeus711 @Volankey
I know the reason. For animation concerning, Popover inside popover is detached inside popover but not body. So the outer placement style has influenced the inner popover.

Fix it in CSS layer.

rhengles pushed a commit to arijs/naive-ui that referenced this issue Oct 20, 2021
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants