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

[Bugfix] Sticky : Set container height before positioning anchors #8717

Merged
merged 1 commit into from
May 11, 2016

Conversation

gehasia
Copy link
Contributor

@gehasia gehasia commented Apr 30, 2016

Anchor was positioned before container height was fixed. It was incorrect when using elements with no fixed height, as anchors was offseted by 0px (container height) instead of real element height.

Fixes #8396

See Test 6 in test/visual/sticky/anchors-with-callouts.html after merging
#8674

…set in cas of non-fixed height sticky element
@gehasia gehasia changed the title [Bugfix] Sticky : Calculate height before anchors to have correct off… [Bugfix] Sticky : Set container height before positioning anchors Apr 30, 2016
@kball kball merged commit 940e751 into foundation:develop May 11, 2016
@gehasia gehasia deleted the sticky-fluidheightoffset-fix branch July 7, 2016 14:51
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[6.2 Sticky] When anchor is below the sticky element on the page, calculation is off by its height
2 participants