Closed hyperknot closed 6 years ago
Thanks for reporting this issue. I'm sorry to see you're having trouble with Draggabilly. Could you provide a reduced test case? See Submitting Issues in the contributing guidelines.
@desandro I still cannot make a test case, but the reason why it's broken is that Safari can return null
for getComputedStyle
'.left
and '.top
. So we need to include a check not to run the indexOf
function on null, but just return NaN
for example.
The later lines will convert all NaN
and "auto"
values to 0 afterwards.
I've submitted a PR which fixes it.
Thanks for this. I'll evaluate adding this fix in the next release.
No one else has chimed in on this issue. So I'm going to close as wontfix
. Please follow up if this issue needs another look at.
I'm having a problem with using Draggabilly (master) under Safari / OS X 10.11:
The flow looks like this: