Error when the user clicks again on MenuCommand of type flyout
smilealdway opened this issue · comments
Saurabh Gupta commented
winjs/src/js/WinJS/Controls/Menu/_Command.js
Line 485 in 62d6521
winjs/src/js/WinJS/Controls/Menu/_Command.js
Line 507 in 62d6521
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 -
- Hover over the MenuCommand to open the flyout
- 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?