{"action":"opened","issue":{"url":"https://api.github.com/repos/inuyaksa/jquery.nicescroll/issues/612","repository_url":"https://api.github.com/repos/inuyaksa/jquery.nicescroll","labels_url":"https://api.github.com/repos/inuyaksa/jquery.nicescroll/issues/612/labels{/name}","comments_url":"https://api.github.com/repos/inuyaksa/jquery.nicescroll/issues/612/comments","events_url":"https://api.github.com/repos/inuyaksa/jquery.nicescroll/issues/612/events","html_url":"https://github.com/inuyaksa/jquery.nicescroll/issues/612","id":163699523,"number":612,"title":"nicescroll freeze if we add settimeout on scroll","user":{"login":"Ricozor","id":1180974,"avatar_url":"https://avatars.githubusercontent.com/u/1180974?v=3","gravatar_id":"","url":"https://api.github.com/users/Ricozor","html_url":"https://github.com/Ricozor","followers_url":"https://api.github.com/users/Ricozor/followers","following_url":"https://api.github.com/users/Ricozor/following{/other_user}","gists_url":"https://api.github.com/users/Ricozor/gists{/gist_id}","starred_url":"https://api.github.com/users/Ricozor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ricozor/subscriptions","organizations_url":"https://api.github.com/users/Ricozor/orgs","repos_url":"https://api.github.com/users/Ricozor/repos","events_url":"https://api.github.com/users/Ricozor/events{/privacy}","received_events_url":"https://api.github.com/users/Ricozor/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-07-04T15:35:21Z","updated_at":"2016-07-04T15:35:21Z","closed_at":null,"body":"Hi,\r\nThx for your plugin which is very useful.\r\n\r\nI have one problem for a new project.\r\nIf I add a setTimeout action in the onScroll event, the scrolling is frozen, I can scroll again when setTimeout is finished.\r\n\r\n`$(window).scroll(function(d,h) {\r\n    checkTilesPosition();\r\n});`\r\nor\r\n`$('body').niceScroll().scrollend(function(info){\r\n    checkTilesPosition();\r\n});`\r\n\r\ncheckTilesPosition() does the the settimeout action for each element which has the good condition.\r\n\r\nIf checkTilesPosition() is disabled and nicescroll is enabled (or the opposite), there is no freeze at all.\r\n\r\nDo you think there is a way to fix this ?\r\n\r\nThx for your help.\r\n\r\nEric F.\r\n\r\n \r\n"}}
{"actor":{"display_login":"Ricozor"}}