New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flyout - Strange issue with a listview #2766

Closed
anthony1969 opened this Issue Dec 15, 2016 · 1 comment

Comments

Projects
None yet
2 participants
@anthony1969

anthony1969 commented Dec 15, 2016

Hi,
installing the new version of MahApps i've find a very strange behaviour while using a usercontrol that simply contains a listview. The content of the flyout look like this:

        <mhControls:Flyout Position="Top" IsOpen="{Binding IsOpen}" IsModal="False" Theme="Accent" Margin="0,17,0,0">
            <StackPanel Orientation="Vertical">
                <TextBlock Text="My sources list" FontSize="24" Padding="0,10">
                    <TextBlock.Effect>
                        <DropShadowEffect ShadowDepth="3" />
                    </TextBlock.Effect>
                </TextBlock>
                <uc:ucAvailableSource Padding="0,30" BorderBrush="Silver" BorderThickness="0,2" x:Name="_availableSrc">
                    <i:Interaction.Triggers>
                        <i:EventTrigger EventName="onSelectionChanged">
                            <i:InvokeCommandAction Command="{Binding AvailableSourceSelectedCommand}" CommandParameter="{Binding SelectedItem, ElementName=_availableSrc}" />
                        </i:EventTrigger>
                    </i:Interaction.Triggers>
                </uc:ucAvailableSource>
            </StackPanel>
        </mhControls:Flyout>

--

What's happens is that when opening the Flyout the list was empty....if i put the same control outside the flyout all works fine, and using the previuos version of MahApps (1.2.4) works fine too.
Any idea ?

  • MahApps.Metro v1.3.0
  • Windows 10
  • Visual Studio 2013
  • .NET Framework 4.6.1
@punker76

This comment has been minimized.

Show comment
Hide comment
@punker76

punker76 Dec 15, 2016

Member

@anthony1969 can you test the latest pre-release too? Thx

Member

punker76 commented Dec 15, 2016

@anthony1969 can you test the latest pre-release too? Thx

@punker76 punker76 added the Bug label Dec 15, 2016

@punker76 punker76 self-assigned this Dec 15, 2016

@punker76 punker76 added this to the 1.4.0 milestone Dec 15, 2016

@punker76 punker76 closed this in 400d789 Dec 15, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment