Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@F-jianchao
Copy link
Contributor

What

Pasted Graphic 1

Why

当嵌套在无界当中时,弹出层会把非iframe的顶层区域也当成自己的可视区域,计算出来的位置,并不是正确的。超出了iframe的区域,于是不可见。

How

判断当前页面是否是在iframe内部,是的话减去非iframe可视区域的高度。

@github-actions github-actions bot added the fix label Apr 21, 2025
@github-actions
Copy link

👍 Thanks for this!
🏷 I have applied any labels matching special text in your issue.

Please review the labels and make any necessary changes.

@2betop 2betop merged commit 1c388a2 into baidu:master Apr 21, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants