-
Sorry, I'm back with the ListView related questions :-( If I put grids of a fixed height in a listview template, scrolling works fine. If I make components holding a grid, then dragging the scrollbars goes crazy. I've got a project or script that demonstrates it. In the debug inspector, the component looks to have the correct height, but the list view looks like it doesn't know how big the contents are (even with the hint that Here's what scrolling the grids (left) and components (right) look like: Again thanks for your time, and for the very cool library. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
Hey @marklam can you try changing |
Beta Was this translation helpful? Give feedback.
-
The ItemsControl of Grids renders, but the ItemsControl of Components doesn't appear, I get the wait cursor and the call stack shows it's stuck here: |
Beta Was this translation helpful? Give feedback.
-
If the core of the Component's I believe that it's valid to do that, because OnInitialized will be called on the UI thread anyway ( The problem with the code as it stands seems to be that after OnInitialized, the component isn't sized correctly, it only gets the size set when the queued action is executed, at which point the scroll bars jiggle etc. This changeset shows my proposed fix.
I can create a PR if you think it's a valid approach. |
Beta Was this translation helpful? Give feedback.
Created a PR
#352