UIDropDown icon indicating copy to clipboard operation
UIDropDown copied to clipboard

Tap Delay.

Open Maxnelson997 opened this issue 9 years ago • 3 comments

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 avatar Dec 16 '16 10:12 Maxnelson997

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)

Maxnelson997 avatar Dec 16 '16 10:12 Maxnelson997

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

igongora avatar Dec 16 '16 20:12 igongora

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

Maxnelson997 avatar Dec 17 '16 04:12 Maxnelson997