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

fix: position holder offset should include margin #857

Merged
merged 7 commits into from Nov 24, 2021

Conversation

temper357
Copy link
Contributor

Closes #749

修复因 position sticky 的 RenderBoxModel 对应的 RenderPositionHolder 的定位未包含 margin 导致 sticky 定位错误。

@cnryb
Copy link
Member

cnryb commented Nov 9, 2021

使用这个分支的代码测试,可以修复 #749 描述的问题

Base automatically changed from feat-css-style-sheet to main November 19, 2021 14:03
yuanyan
yuanyan previously approved these changes Nov 23, 2021
@cnryb cnryb merged commit c8ac9db into main Nov 24, 2021
@cnryb cnryb deleted the fix/position-holder-offset branch November 24, 2021 06:20
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

Successfully merging this pull request may close these issues.

粘性定位,定位计算错误
4 participants