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

Bound the menu fully within the container #3

Open
dandv opened this issue Jul 30, 2015 · 1 comment
Open

Bound the menu fully within the container #3

dandv opened this issue Jul 30, 2015 · 1 comment

Comments

@dandv
Copy link

dandv commented Jul 30, 2015

The menu stays contained between the top and bottom boundaries of the container, but not between the left and right ones. This is far from a trivial problem - see HubSpot/drop#100.

@reedjones
Copy link

I had the same problem and the solution here worked: HubSpot/drop#16

I added the tether constraints in the selection-menu.js file (where it initializes tether (around line 242)
instance.tether = new Tether...

constraints: [ to: 'scrollParent', attachment: 'together', pin: true ]

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