-
Notifications
You must be signed in to change notification settings - Fork 57
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
Element is not "unfixed" when back to top #55
Comments
What do you mean by "getting to top".
Example implementations seem to work in both browsers:
http://bbarakaci.github.io/fixto/dev2.html
…On Mon, Jan 29, 2018 at 9:51 PM, adi ***@***.***> wrote:
Getting to top stopped working. I think it started with FF 58, maybe 57.
Also it doesn't work on recent Chrome.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#55>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABtwNCgZtkbhVjnpV48Bi2urRKSvrDwpks5tPi9NgaJpZM4RxVVc>
.
|
in my situation, when |
So, this is not a problem of a web browser, but related to parent element. I have sticked top navigation to |
When I change the line Line 442 in 2ef6935
if (this._scrollTop > this._parentBottom || this._scrollTop <= (this._fullOffset('offsetTop', this._ghostNode) - this.options.top - this._mindtop())) { it works. |
Cool that you have found the solution. When I find some time I will see if
the solution plays well with each case. Then I can push a fix for everybody.
Thanks.
…On Tue 30. Jan 2018 at 10:32, adi ***@***.***> wrote:
When I change the line
https://github.com/bbarakaci/fixto/blob/2ef69350091d4dadc9f170a8496cba64f07aa73c/src/fixto.js#L442
to:
if (this._scrollTop > this._parentBottom || this._scrollTop <= (this._fullOffset('offsetTop', this._ghostNode) - this.options.top - this._mindtop())) {
it works.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#55 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/ABtwNHBJO3YL_FhlTJa6wmN7l_WBZEcqks5tPuHFgaJpZM4RxVVc>
.
|
Sure thing! Hope it could help not only me. |
unsubscribe
…On Wed, Jan 31, 2018 at 7:04 AM, adi ***@***.***> wrote:
Sure thing! Hope it could help not only me.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#55 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/ABxqsTQ6MmKVPmD9OHqM2BAPUwRdYUiaks5tQFbKgaJpZM4RxVVc>
.
|
Getting to top stopped working. I think it started with FF 58, maybe 57. Also it doesn't work on recent Chrome.
The text was updated successfully, but these errors were encountered: