Skip to content
This repository has been archived by the owner on May 1, 2024. It is now read-only.

[Bug] Grid broken in 4.8.0.1687 #13034

Closed
jthun opened this issue Dec 3, 2020 · 1 comment
Closed

[Bug] Grid broken in 4.8.0.1687 #13034

jthun opened this issue Dec 3, 2020 · 1 comment
Labels
a/grid a/layout i/high Completely doesn't work, crashes, or is unusably slow, has no obvious workaround; occurs less often in-progress This issue has an associated pull request that may resolve it! t/bug 🐛

Comments

@jthun
Copy link

jthun commented Dec 3, 2020

Description

There seems to be an issue with Grid layout in XF 4.8.0.1687.

Steps to Reproduce

  1. Create new blank Xamarin Forms project.
  2. Paste the sample MainPage.xaml
  3. Run and observe the difference between for example 4.8.0.1560 and .1687. The grid is much smaller in .1687 and this is destroying the entire app look-and-feel.

MainPage.xaml

<ContentPage.Resources>
    <Color x:Key="GridBackgroundColor">#AFAFAF</Color>
</ContentPage.Resources>

<Grid>
    <Grid.RowDefinitions>
        <RowDefinition Height="Auto" />
        <RowDefinition Height="*" />
    </Grid.RowDefinitions>

    <Frame
        Grid.Row="0"
        Padding="24"
        BackgroundColor="#2196F3"
        CornerRadius="0">
        <Label
            FontSize="36"
            HorizontalTextAlignment="Center"
            Text="Grid Test, XF 4.8.0.1687"
            TextColor="White" />
    </Frame>

    <Grid
        Grid.Row="1"
        HorizontalOptions="Center"
        VerticalOptions="Center">

        <Grid.RowDefinitions>
            <RowDefinition Height="*" />
            <RowDefinition Height="3*" />
            <RowDefinition Height="*" />
        </Grid.RowDefinitions>

        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="*" />
            <ColumnDefinition Width="3*" />
            <ColumnDefinition Width="*" />
        </Grid.ColumnDefinitions>

        <BoxView
            Grid.Row="0"
            Grid.Column="0"
            BackgroundColor="{StaticResource GridBackgroundColor}" />

        <BoxView
            Grid.Row="0"
            Grid.Column="2"
            BackgroundColor="{StaticResource GridBackgroundColor}" />

        <BoxView
            Grid.Row="2"
            Grid.Column="0"
            BackgroundColor="{StaticResource GridBackgroundColor}" />

        <BoxView
            Grid.Row="2"
            Grid.Column="2"
            BackgroundColor="{StaticResource GridBackgroundColor}" />

    </Grid>
</Grid>

Expected Behavior

Actual Behavior

Basic Information

  • Version with issue: 4.8.0.1687
  • Last known good version: 4.8.0.1560
  • Platform Target Frameworks:
    • iOS: Not tested
    • Android: 9.0
    • UWP: Not tested
  • Android Support Library / AndroidX Version:
  • NuGet Packages:
  • Affected Devices:

Environment

Build Logs

Screenshots

Screenshot_20201203-122334 1

Screenshot_20201203-122455 1

Reproduction Link

Workaround

@jthun jthun added s/unverified New report that has yet to be verified t/bug 🐛 labels Dec 3, 2020
@samhouts samhouts added this to New in Triage Dec 3, 2020
@jthun
Copy link
Author

jthun commented Dec 3, 2020

Might be a duplicate of #12900

@jsuarezruiz jsuarezruiz added a/layout i/high Completely doesn't work, crashes, or is unusably slow, has no obvious workaround; occurs less often labels Dec 3, 2020
@StephaneDelcroix StephaneDelcroix moved this from New to Ready For Work in Triage Dec 7, 2020
@Redth Redth moved this from Ready For Work to Needs Estimate in Triage Dec 15, 2020
@hartez hartez added a/grid and removed s/unverified New report that has yet to be verified labels Dec 15, 2020
@hartez hartez added this to To do in Other Ready For Work via automation Dec 15, 2020
@hartez hartez removed this from Needs Estimate in Triage Dec 15, 2020
@hartez hartez moved this from To do to In progress in Other Ready For Work Dec 15, 2020
@hartez hartez added the in-progress This issue has an associated pull request that may resolve it! label Dec 15, 2020
@hartez hartez closed this as completed in 43d5751 Dec 17, 2020
Other Ready For Work automation moved this from In progress to Done Dec 17, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
a/grid a/layout i/high Completely doesn't work, crashes, or is unusably slow, has no obvious workaround; occurs less often in-progress This issue has an associated pull request that may resolve it! t/bug 🐛
Projects
Development

No branches or pull requests

3 participants