{"action":"created","issue":{"url":"https://api.github.com/repos/tm-roamer/flowgrid/issues/2","repository_url":"https://api.github.com/repos/tm-roamer/flowgrid","labels_url":"https://api.github.com/repos/tm-roamer/flowgrid/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/tm-roamer/flowgrid/issues/2/comments","events_url":"https://api.github.com/repos/tm-roamer/flowgrid/issues/2/events","html_url":"https://github.com/tm-roamer/flowgrid/issues/2","id":254928318,"number":2,"title":"当拖拽容器上方的元素高度过大时，拖拽时的阴影与鼠标坐标不一致","user":{"login":"tangdaohai","id":10151071,"avatar_url":"https://avatars0.githubusercontent.com/u/10151071?v=4","gravatar_id":"","url":"https://api.github.com/users/tangdaohai","html_url":"https://github.com/tangdaohai","followers_url":"https://api.github.com/users/tangdaohai/followers","following_url":"https://api.github.com/users/tangdaohai/following{/other_user}","gists_url":"https://api.github.com/users/tangdaohai/gists{/gist_id}","starred_url":"https://api.github.com/users/tangdaohai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tangdaohai/subscriptions","organizations_url":"https://api.github.com/users/tangdaohai/orgs","repos_url":"https://api.github.com/users/tangdaohai/repos","events_url":"https://api.github.com/users/tangdaohai/events{/privacy}","received_events_url":"https://api.github.com/users/tangdaohai/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-09-04T03:39:15Z","updated_at":"2017-09-04T03:49:33Z","closed_at":null,"author_association":"NONE","body":"\r\nhttps://github.com/tm-roamer/flowgrid/blob/master/example/base.html#L15\r\n\r\n以此demo为例子，在`btn-group` 增加高度`height:300px;` 并点击添加多个节点(超过首屏)之后，拖拽下面的元素即可重现。\r\n\r\n后发现在此行获取鼠标坐标的方法似乎不恰当 https://github.com/tm-roamer/flowgrid/blob/master/src/dragdrop.js#L52\r\n`pageY`是从dom顶部开始计算高度，而应该从浏览器窗口开始计算高度，似乎使用`clientY`更合适"},"comment":{"url":"https://api.github.com/repos/tm-roamer/flowgrid/issues/comments/326860185","html_url":"https://github.com/tm-roamer/flowgrid/issues/2#issuecomment-326860185","issue_url":"https://api.github.com/repos/tm-roamer/flowgrid/issues/2","id":326860185,"user":{"login":"tm-roamer","id":8220040,"avatar_url":"https://avatars3.githubusercontent.com/u/8220040?v=4","gravatar_id":"","url":"https://api.github.com/users/tm-roamer","html_url":"https://github.com/tm-roamer","followers_url":"https://api.github.com/users/tm-roamer/followers","following_url":"https://api.github.com/users/tm-roamer/following{/other_user}","gists_url":"https://api.github.com/users/tm-roamer/gists{/gist_id}","starred_url":"https://api.github.com/users/tm-roamer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tm-roamer/subscriptions","organizations_url":"https://api.github.com/users/tm-roamer/orgs","repos_url":"https://api.github.com/users/tm-roamer/repos","events_url":"https://api.github.com/users/tm-roamer/events{/privacy}","received_events_url":"https://api.github.com/users/tm-roamer/received_events","type":"User","site_admin":false},"created_at":"2017-09-04T03:49:33Z","updated_at":"2017-09-04T03:49:33Z","author_association":"OWNER","body":"clientX: 参照点是浏览器内容区域的左上角，会随之滚动条的移动而移动\r\npageX:  参照点是浏览器内容区域的左上角，它不会随着滚动条而变动"}}
{"actor":{"display_login":"tm-roamer"}}