yannickl / Reactions

Fully customizable Facebook reactions like control
http://cocoadocs.org/docsets/Reactions
MIT License
584 stars 90 forks source link

Reactions receives no input whatsoever. #38

Closed Jorghi12 closed 3 years ago

Jorghi12 commented 3 years ago

I've added Reactions to a UIView and the animations do not change when I mouse hover or click, leading me to believe that it's receiving no input whatsoever. What could cause this?

var select = ReactionSelector() select.reactions = Reaction.facebook.all containerView.addSubview(select)

Jorghi12 commented 3 years ago

Solved my own issue!

It turns out the frame dimensions were too small, preventing mouse input from being detected. By programmatically setting "select.frame = CGRect(...)" I was able to solve it.