angular-click-outside
angular-click-outside copied to clipboard
Click inside dropdown menu
Hi, When I click inside the dropdown menu that has the click-outside directive, it closes the menu, and also, any links that are in that dropdown don't work (neither with href or ui-sref). Actually the click I execute on an inside the dropdown, gets executed on whatever is under that menu.... strange behaviour
Thanks
@iulianmids can I confirm which version you are currently using please?
2.6.2
thanks
@iulianmids thanks, are we talking about select boxes here or, dropdowns made from lists as per the example in the /example folder? I'll look into it.
Hi, I've created a custom dropdown menu from an
@iulianmids looks like your reply was cut off, let me know and I'll do what I can to see if it is still an issue.
It's fixed now? I have the same problem.
I'm using next code:
<div ng-show="showDropdown" class="profile-menu-dropdown-menu"
click-outside="toggleThis('showDropdown', false)">
<ul>
<li>
<button ui-sref="profile">Cabinet</button>
</li>
<li>
<button>Cashback</button>
</li>
<li>
<button ng-click="logout()">Logout</button>
</li>
</ul>
</div>
On desktop it works like a charm, but today i've tested my app on iphone 6 and it doesn't work. I've tried to replace button ui-sref to a href but unfortunately it doesnt help.
I'll grab an iPhone 6 and give this a test to see what is going on, nothing springs to mind just yet.
@IamAdamJowett thanks for your answer! I'll wait on good news from you :)