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

Click inside dropdown menu #31

Open
iulianmids opened this issue Feb 27, 2016 · 8 comments
Open

Click inside dropdown menu #31

iulianmids opened this issue Feb 27, 2016 · 8 comments

Comments

@iulianmids
Copy link

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

@IamAdamJowett
Copy link
Owner

@iulianmids can I confirm which version you are currently using please?

@iulianmids
Copy link
Author

2.6.2

thanks

@IamAdamJowett
Copy link
Owner

@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.

@iulianmids
Copy link
Author

Hi,
I've created a custom dropdown menu from an

@IamAdamJowett
Copy link
Owner

@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.

@IuriiKryventsov
Copy link

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.

@IamAdamJowett
Copy link
Owner

I'll grab an iPhone 6 and give this a test to see what is going on, nothing springs to mind just yet.

@IuriiKryventsov
Copy link

@IamAdamJowett thanks for your answer! I'll wait on good news from you :)

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

No branches or pull requests

3 participants