-
-
Notifications
You must be signed in to change notification settings - Fork 743
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
Why use target as scroll parent if position: fixed
?
#214
Comments
I'm not exactly certain if I understood the question correctly, but a parent element with |
I believe the reason is that if the target is On the other hand, this results in an unnecessary So perhaps |
Well the problem I was encountering is that the tether gets |
Could you provide a simplified jsfiddle (or something) example of what you're trying to do? Just because I'm having hard time visualizing the issue. Do you have constraint assigned to "scrollParent"? Because it sounds like you have, and the "out-of-bounds" sounds exactly correct behaviour if the tethered element is larger than the target (since it will never fit within the bounds). If you do ... why? And if you don't ... well ... then we might actually have a problem ;) |
I noticed https://github.com/HubSpot/tether/blob/master/src/js/utils.js#L41 and I'm really just curious to know why the target is considered the scroll parent if it is
position: fixed
.The text was updated successfully, but these errors were encountered: