-
-
Notifications
You must be signed in to change notification settings - Fork 745
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
Reposition a center-attached element to left- or right-attached #81
Reposition a center-attached element to left- or right-attached #81
Conversation
👍 |
🍻 |
I like this solution as well. As Tether is no longer CoffeeScript based, the patch just needs some refreshments imho. |
@markalfred Do you mind if I close this PR in favor of https://github.com/HubSpot/tether/compare/horizontal-overflow-fix. This is a great feature we would love to incorporate into Tether and the branch has your changes applied to the new project structure. |
👍 Sorry for falling off the face of the earth. I ran into some problems trying to implement the same functionality on a middle (y) position element and never revisited. The above fix looks great, thanks for this! |
whats up with this? is it in or not? I didn't understand @geekjuice 's comment |
I've been busier than expected these past few months and haven't had the bandwidth to fully test these changes and merge them into My comment was that the changes on this branch were applied before a large project restructuring (when the project still used coffeescript), so there would have been major merge conflicts. The branch I mentioned above ported these changes into the new project format (using ES6). If you'd like to help get this into |
@geekjuice :
And I have this bug, when re-sizing the window (FF 44.0.2 & Chrome 48.0.2564.116 on Win7), the tether element "jumps" (it should be attached to the "star" icon: |
@yairEO do you mind setting up a simple jsbin/fiddle/codepen reproducing the issue and providing the link? Then I'll be happy to take a look. |
I'll set it up |
@geekjuice - I've produces a simple example page (using latest ( Try resizing the seems like tether goes crazy when the target element has |
Opening this PR to discuss the feasibility and desirability of repositioning center-attached elements if they move outside of their constrainer. This originated in a Drop discussion but the fix here is in Tether.
Example:
If this is a desirable feature, I'd be happy to update the change in order to make it mergeable 👍