{"action":"created","issue":{"url":"https://api.github.com/repos/tuupola/jquery_lazyload/issues/247","labels_url":"https://api.github.com/repos/tuupola/jquery_lazyload/issues/247/labels{/name}","comments_url":"https://api.github.com/repos/tuupola/jquery_lazyload/issues/247/comments","events_url":"https://api.github.com/repos/tuupola/jquery_lazyload/issues/247/events","html_url":"https://github.com/tuupola/jquery_lazyload/issues/247","id":58989772,"number":247,"title":"Container + event ignores threshold","user":{"login":"Vielmond","id":2717458,"avatar_url":"https://avatars.githubusercontent.com/u/2717458?v=3","gravatar_id":"","url":"https://api.github.com/users/Vielmond","html_url":"https://github.com/Vielmond","followers_url":"https://api.github.com/users/Vielmond/followers","following_url":"https://api.github.com/users/Vielmond/following{/other_user}","gists_url":"https://api.github.com/users/Vielmond/gists{/gist_id}","starred_url":"https://api.github.com/users/Vielmond/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Vielmond/subscriptions","organizations_url":"https://api.github.com/users/Vielmond/orgs","repos_url":"https://api.github.com/users/Vielmond/repos","events_url":"https://api.github.com/users/Vielmond/events{/privacy}","received_events_url":"https://api.github.com/users/Vielmond/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-25T23:47:42Z","updated_at":"2015-02-26T03:43:19Z","closed_at":null,"body":"Lazyload seems to be misbehaving when you trigger it through an event. In my case I've set up a horizontal slider. The parent container (which I'm referring to in the plugin settings) has the viewport width. The child container contains the images I'm loading, it has the images added width and slides around upon clicking on the slider navigation buttons, keyboard arrows, etc.\r\n\r\nThe initial load works flawlessly and the custom threshold setting is respected, after that—when the plugin gets fired by the sliding event—the threshold gets ignored, causing only the images in the viewport to be loaded."},"comment":{"url":"https://api.github.com/repos/tuupola/jquery_lazyload/issues/comments/76117361","html_url":"https://github.com/tuupola/jquery_lazyload/issues/247#issuecomment-76117361","issue_url":"https://api.github.com/repos/tuupola/jquery_lazyload/issues/247","id":76117361,"user":{"login":"tuupola","id":21913,"avatar_url":"https://avatars.githubusercontent.com/u/21913?v=3","gravatar_id":"","url":"https://api.github.com/users/tuupola","html_url":"https://github.com/tuupola","followers_url":"https://api.github.com/users/tuupola/followers","following_url":"https://api.github.com/users/tuupola/following{/other_user}","gists_url":"https://api.github.com/users/tuupola/gists{/gist_id}","starred_url":"https://api.github.com/users/tuupola/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tuupola/subscriptions","organizations_url":"https://api.github.com/users/tuupola/orgs","repos_url":"https://api.github.com/users/tuupola/repos","events_url":"https://api.github.com/users/tuupola/events{/privacy}","received_events_url":"https://api.github.com/users/tuupola/received_events","type":"User","site_admin":false},"created_at":"2015-02-26T03:43:19Z","updated_at":"2015-02-26T03:43:19Z","body":"URL of the page you have problem with? The described problem should not be logically possible. For the plugin there is no difference in the event whether is was triggered by browser or triggered manually. Maybe it is somehow caused by the container."}}