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

Error when the user clicks again on MenuCommand of type flyout #1684

Open
smilealdway opened this issue Sep 10, 2018 · 0 comments
Open

Error when the user clicks again on MenuCommand of type flyout #1684

smilealdway opened this issue Sep 10, 2018 · 0 comments

Comments

@smilealdway
Copy link

smilealdway commented Sep 10, 2018

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant