Skip to content
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 is blocked by Webbrowser #820

Closed
topvis opened this issue Nov 25, 2013 · 1 comment
Closed

Flyout is blocked by Webbrowser #820

topvis opened this issue Nov 25, 2013 · 1 comment

Comments

@topvis
Copy link

topvis commented Nov 25, 2013

As shown in the image below, Flyout (flying out from the right side of the window) is blocked by the Webbrower control. I guess same thing would happen for controls hosted by WindowsFormHost.

11-25-2013 2-45-16 pm

Here is the XAML code:

xmlns:i="clr-namespace:System.Windows.Interactivity;assembly=System.Windows.Interactivity"
xmlns:behaviours="clr-namespace:MahApps.Metro.Behaviours;assembly=MahApps.Metro"

<i:Interaction.Behaviors>
    <behaviours:BorderlessWindowBehavior ResizeWithGrip="True" AllowsTransparency="False" />
</i:Interaction.Behaviors>

<metro:MetroWindow.Flyouts>
    <metro:FlyoutsControl>
        <metro:Flyout x:Name="aboutFlyout" Width="500" Header="About" Position="Right">
            <TextBlock Text="Apllication Name" />
        </metro:Flyout>
    </metro:FlyoutsControl>
</metro:MetroWindow.Flyouts>

<Grid Background="LightGreen">
    <WebBrowser Source="http://www.google.com" Margin="50"/>
    <Button Content="Show Flyout" Width="100" Height="25" HorizontalAlignment="Left" VerticalAlignment="Bottom" Margin="10" Click="Button_Click_1"/>
</Grid>
@AzureKitsune
Copy link
Member

This is the airspace issue. It's a WPF issue, not a MahApps.Metro one. Please refer to #488 for the Airspace Decorator workaround.

@topvis topvis closed this as completed Nov 26, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants