{"action":"opened","issue":{"url":"https://api.github.com/repos/yiisoft/yii2/issues/9366","labels_url":"https://api.github.com/repos/yiisoft/yii2/issues/9366/labels{/name}","comments_url":"https://api.github.com/repos/yiisoft/yii2/issues/9366/comments","events_url":"https://api.github.com/repos/yiisoft/yii2/issues/9366/events","html_url":"https://github.com/yiisoft/yii2/issues/9366","id":100043798,"number":9366,"title":"Feature request Menu widget - hideInActiveNephews","user":{"login":"dynasource","id":125726,"avatar_url":"https://avatars.githubusercontent.com/u/125726?v=3","gravatar_id":"","url":"https://api.github.com/users/dynasource","html_url":"https://github.com/dynasource","followers_url":"https://api.github.com/users/dynasource/followers","following_url":"https://api.github.com/users/dynasource/following{/other_user}","gists_url":"https://api.github.com/users/dynasource/gists{/gist_id}","starred_url":"https://api.github.com/users/dynasource/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dynasource/subscriptions","organizations_url":"https://api.github.com/users/dynasource/orgs","repos_url":"https://api.github.com/users/dynasource/repos","events_url":"https://api.github.com/users/dynasource/events{/privacy}","received_events_url":"https://api.github.com/users/dynasource/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-08-10T11:42:44Z","updated_at":"2015-08-10T11:42:44Z","closed_at":null,"body":"Most of the times when using a menu with subitems, it is not necessary to also output the subitems of other menu items which are inactive (the nephews)\r\n\r\nCurrently, the following is showed always:\r\n* menu 1 (active)\r\n* menu 1 > menu 1.1\r\n* menu 2 > (not active)\r\n* menu 2 > menu 2.1\r\n\r\nTherefore I would suggest to add another parameter called hideInActiveNephews. \r\n\r\nThis will prevent the output of redundant and non visible menu items which would never be visible in the current route."}}