Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
755
Items remain clicked
posted

Hi,

When I hoover the mouse over a item in the main menu, a blue effect appears over it, but when I click it, that effect remains in the item, and it looks pretty bad.

Why that happen? how can I avoid it?

Cheers.

Parents
No Data
Reply
  • 7922
    posted

    Hi

     

    I could not reproduce your issue,  but you can try this:

    Add follow storyboard to control template of XamWebMenuItem in normal visual state

     

     

    <vsm:VisualState x:Name="Normal">
    <Storyboard >
           <ObjectAnimationUsingKeyFrames Storyboard.TargetName="HighlightedIndicator" Storyboard.TargetProperty="(UIElement.Visibility)">
                  <DiscreteObjectKeyFrame KeyTime="0" Value="Collapsed"/>
          
    </ObjectAnimationUsingKeyFrames>
          
    <ObjectAnimationUsingKeyFrames Storyboard.TargetName="SelectedIndicator" Storyboard.TargetProperty="(UIElement.Visibility)">
                  
    <DiscreteObjectKeyFrame KeyTime="0" Value="Collapsed"/>
          
    </ObjectAnimationUsingKeyFrames>
    </Storyboard>
    </vsm:VisualState>

    Regards

Children