Skip to content

Recompute the margin element position whenever body height changes#5303

Merged
dragonstyle merged 1 commit intomainfrom
bugfix/5289
Apr 25, 2023
Merged

Recompute the margin element position whenever body height changes#5303
dragonstyle merged 1 commit intomainfrom
bugfix/5289

Conversation

@dragonstyle
Copy link
Collaborator

Merely doing it when the dom is complete isn’t enough, since images may not have yet loaded. Instead, just look at the body and observe any resizes, and recompute the changes when that happens (throttled).

Fixes #5289

Merely doing it when the dom is complete isn’t enough, since images may not have yet loaded. Instead, just look at the body and observe any resizes, and recompute the changes when that happens (throttled).

Fixes #5289
@dragonstyle dragonstyle added this to the v1.4 milestone Apr 25, 2023
@dragonstyle dragonstyle merged commit 9cf201d into main Apr 25, 2023
@dragonstyle dragonstyle deleted the bugfix/5289 branch April 25, 2023 16:03
dragonstyle added a commit that referenced this pull request Apr 25, 2023
Recompute the margin element position whenever body height changes
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.

column-margin, wrong positioned

1 participant