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

Tap Delay. #4

Open
Maxnelson997 opened this issue Dec 16, 2016 · 3 comments
Open

Tap Delay. #4

Maxnelson997 opened this issue Dec 16, 2016 · 3 comments

Comments

@Maxnelson997
Copy link

Maxnelson997 commented Dec 16, 2016

The menu won't open, select, or close when tapped. It will however, it will do these things when you hold a tap for a few seconds then let go or tap and slide your finger left or right then release.

@Maxnelson997
Copy link
Author

Maxnelson997 commented Dec 16, 2016

I fixed it by changing the UIControlEvents parameter in UIDropDown.swift
self.addTarget(self, action: #selector(touch), for: .touchUpInside)
to
self.addTarget(self, action: #selector(touch), for: .touchDown)

@igongora
Copy link
Owner

Great, but I realize you didn't make a PR. I'll be glad if you can contribute

@Maxnelson997
Copy link
Author

alright! Ill do a little more looking around see if I can fix some stuff.

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

2 participants