winjs / winjs

A UI toolkit for modern browsers

Home Page:http://try.buildwinjs.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error when the user clicks again on MenuCommand of type flyout

smilealdway opened this issue · comments

if (subFlyout && subFlyout.hidden && subFlyout.show) {

I built a MenuCommand of type flyout and assigned WinJS.UI.Flyout to the "flyout" property of the MenuCommand object.

Steps to reproduce the error -

  1. Hover over the MenuCommand to open the flyout
  2. Click on the MenuCommand

On step 2, the error handler on line 507 is invoked because the subFlyout.hidden property is false.

Is this an expected behavior?