Ramotion / animated-tab-bar

:octocat: RAMAnimatedTabBarController is a Swift UI module library for adding animation to iOS tabbar items and icons. iOS library made by @Ramotion
https://www.ramotion.com/animated-tab-bar-ios-app-development-ui-library/
MIT License
11.13k stars 1.33k forks source link

Tap gesture container view size seems incorrect #118

Closed foffux closed 6 years ago

foffux commented 8 years ago

Hello Here it is what I am experimenting: tab bar tap gesture happens also if I click outside tab bar. This is not good at all. Moreover, you do not have to tap directly on tab bar icon to to skip among tab bar item; you just need to tap in between of them. Also this behavior is not good at all. I thought it could be related, somehow, to:

viewContainer.addGestureRecognizer(tapGesture)

but I tried to investigate it without any luck. Could you please help me with this? Thank you.

0ber commented 6 years ago

All item frames are correct

image 2018-04-16 at 2 25 19 pm