-
Notifications
You must be signed in to change notification settings - Fork 210
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
Manual repositioning causes drop to disappear #7
Comments
This could be an issue with a rendering glitch based on how we're using CSS transforms. A test case in jsfiddle or the like would be very much appreciated. |
I have put together a jsFiddle, but first a couple side issues I noted. This might be peculiar to jsFiddle or I might be doing something wrong, but I thought to share. As you can see from the fiddle I am creating a drop like this (where
When I run this the Drop does not seem to respect the arguments I worked around the above and found the issue to reproduce by setting the If you keep clicking the Drop button it will remove items from the drop contents' internal list, and you can click "Reset" to add them all back in. For me when the list of items gets to around 2-3 the drop will sometimes disappear. It seems to reappear on scrolling. In my own application (i.e. not the contrived example here) it does not always reappear on scrolling, and it also does not respond to |
After looking at the second jsFiddle, I believe this is most likely a positioning bug in Tether. When I played with it, at 3 items remaining the Drop was positioned to |
This illustrates the problem: http://jsfiddle.net/3bNE5/1/ vs http://jsfiddle.net/3bNE5/2/ The mistake is assuming that the body would act like a |
This should do it: shipshapecode/tether#31 |
Looks good - here is an updated jsFiddle with @zackbloom's patch. |
The following seems to cause the drop to disappear:
It requires some almost indescribable finagling to get the drop back.
Presuming the issue is apparent I would be grateful for any thoughts on what might be happening here. I am happy to provide more details, too.
Cheers
The text was updated successfully, but these errors were encountered: