Skip to content

Grid No work in ScrollView #52

@galoch-s

Description

@galoch-s

If the grid put in scrollview, then when there is a scroll. grid stops working.
Его просто не видно, а само приложение зависает
Samples
GridViewXamlPerformance grid = new GridViewXamlPerformance();
Button btnEnter = new Button { Text = "Показать элементы" };
btnEnter.Clicked += (sender, e) => { grid.ShowItems(); };

        MainPage = new ContentPage {
            Content = new ScrollView {
                VerticalOptions = LayoutOptions.FillAndExpand,
                Content = new StackLayout {
                    VerticalOptions = LayoutOptions.FillAndExpand,
                    Spacing = 0,
                    Children = {
                        btnEnter,
                        new Label {Text = "text" },
                        new Label {Text = "text" },
                        new Label {Text = "text" },
                        new Label {Text = "text" },
                        new Label {Text = "text" },
                        new Label {Text = "text" },
                        new Label {Text = "text" },
                        new Label {Text = "text" },
                        new Label {Text = "text" },
                        new Label {Text = "text" },
                        new Label {Text = "text" },
                        new Label {Text = "text" },
                        new Label {Text = "text" },
                        new Label {Text = "text" },
                        new Label {Text = "text" },
                        new Label {Text = "text" },
                        new Label {Text = "text" },
                        new Label {Text = "text" },
                        new Label {Text = "text" },
                        new Label {Text = "text" },
                        new Label {Text = "text" },
                        new Label {Text = "text" },
                        new Label {Text = "text" },
                        new Label {Text = "text" },
                        new Label {Text = "text" },
                        new Label {Text = "text" },
                        new Label {Text = "text" },
                        new Label {Text = "text" },
                        new Label {Text = "text" },
                        new Label {Text = "text" },
                        new Label {Text = "text" },
                        new Label {Text = "text" },
                        new Label {Text = "text" },
                        new Label {Text = "text" },
                        new Label {Text = "text" },
                        new Label {Text = "text" },
                        new Label {Text = "text" },
                        new Label {Text = "text" },
                        new Label {Text = "text" },
                        new Label {Text = "text" },
                        new Label {Text = "text" },
                        new Label {Text = "text" },
                        new Label {Text = "text" },
                        new Label {Text = "text" },
                        new Label {Text = "text" },
                        new Label {Text = "text" },
                        new Label {Text = "text" },
                        new Label {Text = "text" },
                        grid
                    }
                }
            }
        };

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions