nathantannar4 / InputBarAccessoryView

A simple and easily customizable InputAccessoryView for making powerful input bars with autocomplete and attachments
MIT License
1.17k stars 232 forks source link

Jumpy `inputAccessoryView ` when used in a UIViewController but not when in UITableViewController #14

Closed brod-ie closed 6 years ago

brod-ie commented 6 years ago

The inputAccessoryView jumps up and down when used in a UIViewController but not when in UITableViewController/UICollectionViewController

You can recreate this by simply changing the Example to a UIViewController.

I'm using ASyncDisplayKit's ASCollectionNode instead of UIKit's collection view for performance, therefore I'm using a UIViewController. Have I missed something or are there any known solutions for this?

jumpy

nathantannar4 commented 6 years ago

Are you trying to animate the size transition?

Sent with GitHawk

brod-ie commented 6 years ago

Doh! I just forked the example to test further in a fresh environment and couldn't for the life of me recreate. It turns out it was IQKeyboardManager! I'd enabled it from my AppDelegate. It must disable itself when the frontmost VC is a UITableViewController/UICollectionViewController 🤔

My apologies, 👍 great module!