slackhq / SlackTextViewController

⛔️**DEPRECATED** ⛔️ A drop-in UIViewController subclass with a growing text input view and other useful messaging features
https://slack.com/
MIT License
8.32k stars 1.08k forks source link

Flashing Text Input Bar #468

Open powerqian opened 8 years ago

powerqian commented 8 years ago

I'm not sure what goes wrong... In a new test project, I subclass the SlackTextViewController with a customised table view cell, the controller's text input bar is flashing on scrolling. Please see the GIF below.

flashinginputbar

I tried to set backgroundColor for cell's background and for cell's contentView's background, but none of it resolved the issue.

Firstly I found this issue when I integrate the SlackTextViewController to my project. Interestingly, this issue does not happen in the provided sample project. So I created a brand new test project to try, and it has this issue as well.

Anything I missed to correctly use the library?

dzenbot commented 8 years ago

Could you attach that sample project? It is hard to know what's wrong without seeing any implementation.

powerqian commented 8 years ago

Hi @dzenbot Thanks for the reply. Attached the really simple sample project.

SlackTextViewControllerTest.zip

sche commented 8 years ago

Same issue happens to me

algrid commented 8 years ago

One should call

messagingViewController.textInputbar.translucent = NO;

to prevent that.