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

layer定位偏移问题 #135

Open
zpl11 opened this issue Aug 9, 2021 · 0 comments
Open

layer定位偏移问题 #135

zpl11 opened this issue Aug 9, 2021 · 0 comments

Comments

@zpl11
Copy link

zpl11 commented Aug 9, 2021

首先通过点击事件创建一个 layer1,
在创建的 layer1 中有 id="poi-01" 的元素
再创建 layer2 并且使用 layer.tips(html,'#poi-01') 但是 layer02 弹出位置偏移。

请问是因为,第一个弹出框是 js 动态创建的,使得 layer2 找不到父级的位置吗

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

No branches or pull requests

1 participant