{"action":"created","issue":{"url":"https://api.github.com/repos/angular-ui/ui-scroll/issues/69","repository_url":"https://api.github.com/repos/angular-ui/ui-scroll","labels_url":"https://api.github.com/repos/angular-ui/ui-scroll/issues/69/labels{/name}","comments_url":"https://api.github.com/repos/angular-ui/ui-scroll/issues/69/comments","events_url":"https://api.github.com/repos/angular-ui/ui-scroll/issues/69/events","html_url":"https://github.com/angular-ui/ui-scroll/issues/69","id":142372645,"number":69,"title":"How to preserve rows till reload() finishes?","user":{"login":"Thymo","id":4692175,"avatar_url":"https://avatars.githubusercontent.com/u/4692175?v=3","gravatar_id":"","url":"https://api.github.com/users/Thymo","html_url":"https://github.com/Thymo","followers_url":"https://api.github.com/users/Thymo/followers","following_url":"https://api.github.com/users/Thymo/following{/other_user}","gists_url":"https://api.github.com/users/Thymo/gists{/gist_id}","starred_url":"https://api.github.com/users/Thymo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Thymo/subscriptions","organizations_url":"https://api.github.com/users/Thymo/orgs","repos_url":"https://api.github.com/users/Thymo/repos","events_url":"https://api.github.com/users/Thymo/events{/privacy}","received_events_url":"https://api.github.com/users/Thymo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-21T14:51:20Z","updated_at":"2016-03-21T16:40:59Z","closed_at":null,"body":"First of all, ui-scroll is great! \r\nIt improves the performance significantly.\r\n\r\nIs there a way to keep the rows till the reload finishes and the datasource comes back with new / refreshed data? Currently, the rows are removed instantly when I'm calling reload()."},"comment":{"url":"https://api.github.com/repos/angular-ui/ui-scroll/issues/comments/199371036","html_url":"https://github.com/angular-ui/ui-scroll/issues/69#issuecomment-199371036","issue_url":"https://api.github.com/repos/angular-ui/ui-scroll/issues/69","id":199371036,"user":{"login":"dhilt","id":4365660,"avatar_url":"https://avatars.githubusercontent.com/u/4365660?v=3","gravatar_id":"","url":"https://api.github.com/users/dhilt","html_url":"https://github.com/dhilt","followers_url":"https://api.github.com/users/dhilt/followers","following_url":"https://api.github.com/users/dhilt/following{/other_user}","gists_url":"https://api.github.com/users/dhilt/gists{/gist_id}","starred_url":"https://api.github.com/users/dhilt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dhilt/subscriptions","organizations_url":"https://api.github.com/users/dhilt/orgs","repos_url":"https://api.github.com/users/dhilt/repos","events_url":"https://api.github.com/users/dhilt/events{/privacy}","received_events_url":"https://api.github.com/users/dhilt/received_events","type":"User","site_admin":false},"created_at":"2016-03-21T16:40:59Z","updated_at":"2016-03-21T16:40:59Z","body":"Sorry, but why do you want to keep viewport' rows untouchable during reload process? I see some common problems here. Your data becames outdated right after it cames from the remote and \"reload\" is the way to sync it, so while you are syncing your data during reload process any client changes on previous data set are potentialy lead to a kind of race condition between client and sever changes, so client changes will be lost. Or e.g. those changes will go to the remote but client will not see them. We should not give an ability to do changes over data set on client side if the reload process is started. Of course your UI may be just read-only in terms of scroller data set, but this is not general case. So what the use case, why do you need to keep outdated rows which are doomed to be replaced soon?"}}