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

Unstick not triggering #133

Open
llandrew opened this issue Oct 14, 2015 · 1 comment
Open

Unstick not triggering #133

llandrew opened this issue Oct 14, 2015 · 1 comment

Comments

@llandrew
Copy link

I've used this plugin a few times and have never run into this issue before. The sticky_kit:stick even is triggering just fine, but when it unsticks, sticky_kit:unstick isn't triggering anymore. I've done some tracking and it seems like it's never getting to the point where it emits that trigger. Everything is happening in the recalc code. The element isn't flush with the top, it's like 400px from the top, nothing special about the code for it.

This is the CSS for the element it's on if this helps.

.compare-bar.open {
display: table;
}

.compare-bar {
position: relative;
z-index: 100;
display: none;
width: 100%;
margin-top: -21px;
margin-bottom: 0;
padding: 5px 10px;
color: white;
background-color: #aa1e2e;
overflow: auto;
}

Any idea what would cause unstick not to fire?

Thanks!

@lkraav
Copy link

lkraav commented Dec 28, 2015

I'm seeing a top of the screen element unstick triggering fine in Firefox 43, but not triggering at all in Chrome 47.

EDIT my issue can be fixed with #117

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

No branches or pull requests

2 participants