Closed ahnpnl closed 4 years ago
I agree this is maybe a misleading option. What it does is close the menu when you select a menu item by clicking it (or not). The menu is always cancelled and dismissed when you click out. Im not sure why you would want to turn off being able to dismiss the menu by clicking out to cancel/remove it?
Maybe we just need to update the doco on this?
Can you move this to EP @clepore please?
Hi Tim,
For an application in ION, we have a scenario this modal dialog is opened by clicking on Settings menu. The requirement says when the users click on the slider inside this modal dialog, the menu shouldn't close.
I'll forward your answer above to the BA. Just let you know there is such a requirement like that.
Ok, It probably shouldnt close if clicking anything on the modal. So thats probably an issue. I think the setting is right, we may just need to ignore any clicks on a modal if those are closing it.
I think we could make a sample to reproduce this.
Descoping this issue for now
Describe the bug Try to set dismissOnClickMobile to false but application menu still closes when clicking outside the menu on small screens/mobile screens
To Reproduce Steps to reproduce the behavior:
enterprise-ng
repoapp.component.html
and modify[dismissOnClickMobile]
to be[dismissOnClickMobile]="false"
Expected behavior
dismissOnClickMobile
false value shouldn't close the menu when clicking outside the menu. Or is it a misleading regarding to this optionVersion
Screenshots N.A.
Platform
Additional context There should be at least some documentations about this option.