{"action":"opened","issue":{"url":"https://api.github.com/repos/AvaloniaUI/Avalonia/issues/1758","repository_url":"https://api.github.com/repos/AvaloniaUI/Avalonia","labels_url":"https://api.github.com/repos/AvaloniaUI/Avalonia/issues/1758/labels{/name}","comments_url":"https://api.github.com/repos/AvaloniaUI/Avalonia/issues/1758/comments","events_url":"https://api.github.com/repos/AvaloniaUI/Avalonia/issues/1758/events","html_url":"https://github.com/AvaloniaUI/Avalonia/issues/1758","id":342083766,"node_id":"MDU6SXNzdWUzNDIwODM3NjY=","number":1758,"title":"Variable Size Items with LogicalScrolling / Virtualized StackPanel","user":{"login":"danwalmsley","id":4672627,"node_id":"MDQ6VXNlcjQ2NzI2Mjc=","avatar_url":"https://avatars3.githubusercontent.com/u/4672627?v=4","gravatar_id":"","url":"https://api.github.com/users/danwalmsley","html_url":"https://github.com/danwalmsley","followers_url":"https://api.github.com/users/danwalmsley/followers","following_url":"https://api.github.com/users/danwalmsley/following{/other_user}","gists_url":"https://api.github.com/users/danwalmsley/gists{/gist_id}","starred_url":"https://api.github.com/users/danwalmsley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danwalmsley/subscriptions","organizations_url":"https://api.github.com/users/danwalmsley/orgs","repos_url":"https://api.github.com/users/danwalmsley/repos","events_url":"https://api.github.com/users/danwalmsley/events{/privacy}","received_events_url":"https://api.github.com/users/danwalmsley/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-07-17T21:03:02Z","updated_at":"2018-07-17T21:03:02Z","closed_at":null,"author_association":"MEMBER","body":"You can repro with the virtualisation demo.\r\n\r\n1) Change the item template so each item is an expander.\r\n2) add a 200x200 grid inside the expander.\r\n3) add a load of items so that scrolling is needed.\r\n4) expand an item near bottom of list so its partially obscured.\r\n5) scroll down, it should crash trying to recycle items when it shouldn't.\r\n\r\nI think there are a couple of things:\r\n\r\nlogical scrolling is assuming fix sized items,\r\nvirtualized stack panel is calculating the number of items to recycle bases on the logical scroll size (fixed)"}}
{"actor":{"display_login":"danwalmsley"}}