-
Notifications
You must be signed in to change notification settings - Fork 441
Sortable: Improved compatibility with flexbox #407
base: master
Are you sure you want to change the base?
Conversation
Added detection for flexbox into _isFloating, which improves the detection of where an item is moved to. See CBenni/jquery-ui@3526e7f In reference to jquery-ui bug id #9344 (http://bugs.jqueryui.com/ticket/9344), which is reproducable within angular-ui/ui-sortable as well.
👍 Great Job! Thanks for your contribution 👍 |
As you can probably see (in the jquery-ui PR), I am having a hard time writing a test case for this. I have a small demo that demonstrates the issue, but I have no idea if, and how, one would write a test case for that specific issue, since its simply the UI being jittery/unreliable. If you can help me with that, ill gladly add a test case. |
I can try to write a test case for you. On Sat, Nov 14, 2015, 18:32 CBenni notifications@github.com wrote:
|
Hi there. Have you been able to create an example available online to test On Sat, Nov 14, 2015, 23:45 Thodoris Greasidis thgreasi@gmail.com wrote:
|
Oh, sorry, I was very busy and forgot about this. See this plunk: http://plnkr.co/edit/UpybaNssJxQMVX30ks0B?p=preview Trying to move certain objects is very jerky and uncontrollable (try moving 8 to where 9 is) The example mimics the use-case I made this change for. |
Thanks, I will check it out! |
Thanks for coming back to this repo. I hope I will find some time during
|
Hi, any updates? 😃 |
The jquery-ui PR it's still open, but if this gets reported as useful by
|
The problem about this "fix" is that it is very hard to see if it actually fixes all the possible situations. I dont know if it breaks any situation that I had not considered, and even with this fix, the position detection is not always flawless, its a very finnicky thing to mess with. I would wait for the jquery-ui team to approve the PR on their end, honestly. |
Added detection for flexbox into _isFloating, which improves the detection of where an item is moved to.
See CBenni/jquery-ui@3526e7f
In reference to jquery-ui bug id #9344 (http://bugs.jqueryui.com/ticket/9344), which is reproducable within angular-ui/ui-sortable as well.