{"action":"created","issue":{"url":"https://api.github.com/repos/sporritt/jsPlumb/issues/329","labels_url":"https://api.github.com/repos/sporritt/jsPlumb/issues/329/labels{/name}","comments_url":"https://api.github.com/repos/sporritt/jsPlumb/issues/329/comments","events_url":"https://api.github.com/repos/sporritt/jsPlumb/issues/329/events","html_url":"https://github.com/sporritt/jsPlumb/issues/329","id":59238447,"number":329,"title":"Scroll issue","user":{"login":"bondarenkokv","id":5427785,"avatar_url":"https://avatars.githubusercontent.com/u/5427785?v=3","gravatar_id":"","url":"https://api.github.com/users/bondarenkokv","html_url":"https://github.com/bondarenkokv","followers_url":"https://api.github.com/users/bondarenkokv/followers","following_url":"https://api.github.com/users/bondarenkokv/following{/other_user}","gists_url":"https://api.github.com/users/bondarenkokv/gists{/gist_id}","starred_url":"https://api.github.com/users/bondarenkokv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bondarenkokv/subscriptions","organizations_url":"https://api.github.com/users/bondarenkokv/orgs","repos_url":"https://api.github.com/users/bondarenkokv/repos","events_url":"https://api.github.com/users/bondarenkokv/events{/privacy}","received_events_url":"https://api.github.com/users/bondarenkokv/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-02-27T13:51:59Z","updated_at":"2015-03-01T10:12:13Z","closed_at":null,"body":"Hi guys! \r\nThank you for jsPlumb, it's really great thing!\r\nSorry if it's duplicate issue (I saw scrolling issues below).\r\nBut I have next thing: https://jsfiddle.net/FamBBM/rzez5g9q/14/\r\nConnections from numbers are draggable and yellow  rectangle is dropping area. If you don't scroll list everything is ok, but if you'll scroll it and try to drag connection you'll that connection line is string from wrong place.\r\nCould you please give me an advice how to fix?\r\nThank you!"},"comment":{"url":"https://api.github.com/repos/sporritt/jsPlumb/issues/comments/76590644","html_url":"https://github.com/sporritt/jsPlumb/issues/329#issuecomment-76590644","issue_url":"https://api.github.com/repos/sporritt/jsPlumb/issues/329","id":76590644,"user":{"login":"sporritt","id":262720,"avatar_url":"https://avatars.githubusercontent.com/u/262720?v=3","gravatar_id":"","url":"https://api.github.com/users/sporritt","html_url":"https://github.com/sporritt","followers_url":"https://api.github.com/users/sporritt/followers","following_url":"https://api.github.com/users/sporritt/following{/other_user}","gists_url":"https://api.github.com/users/sporritt/gists{/gist_id}","starred_url":"https://api.github.com/users/sporritt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sporritt/subscriptions","organizations_url":"https://api.github.com/users/sporritt/orgs","repos_url":"https://api.github.com/users/sporritt/repos","events_url":"https://api.github.com/users/sporritt/events{/privacy}","received_events_url":"https://api.github.com/users/sporritt/received_events","type":"User","site_admin":false},"created_at":"2015-03-01T10:12:13Z","updated_at":"2015-03-01T10:12:13Z","body":"@bondarenkokv let's use this one; it points to a recent 1.7.3 dev version of jsplumb\r\n\r\nhttp://jsfiddle.net/rzez5g9q/19/\r\n\r\nso this issue is kind of related to other issues that have been reported about elements whose parent is scrolled.  it is true that jsPlumb is not taking this into account.\r\n\r\ni would like to do something to fix this, and the obvious thing is to just check the `scroll` value of all of the ancestors of some element, but that's unappealing from a performance point of view. Plus, this use case always makes me ask the same question, which noone has yet answered definitively: how exactly do you want this to behave when endpoints are scrolled out of view?\r\n\r\nfor example, connect the long 9999999.. value to the target and what do you get:\r\n\r\n![image](https://cloud.githubusercontent.com/assets/262720/6430283/2831a7f6-c057-11e4-8b69-7813a672c216.png)\r\n\r\nthis is correct in that the anchor on the number is `RightMiddle`, and that's where the number ends. But the end of the number is hidden. So it looks weird with the connection floating in space like that. should it be hidden? should it be temporarily attached to the list's parent container? \r\n\r\nit's thess questions that make me feel like there is something more to this problem than a tweak to the code that calculates positions. It feels like it's a requirement of the API to support this somehow.  But noone has ever taken me up on the offer."}}