SlackTextViewController icon indicating copy to clipboard operation
SlackTextViewController copied to clipboard

presentKeyboard not firing

Open dfmarulanda opened this issue 8 years ago • 14 comments
trafficstars

presentKeyboard is not firing when keyboard is presenting. So inputBar keeps hidden in back of the keyboard.

dfmarulanda avatar Jun 27 '17 18:06 dfmarulanda

Same here.

fwx avatar Jun 30 '17 06:06 fwx

Me too @lsvz @Dfmarulanda Did you solve this problem?

ShawnBaek avatar Aug 13 '17 03:08 ShawnBaek

@ShawnBaek Well, I changed visibility of slk_registerNotifications and added it to some places in my controllers, but still sometimes it does not fire.

fwx avatar Aug 15 '17 06:08 fwx

@lsvz Thanks for sharing your knowledgement. I solved this problem by remove viewDidAppear methods. But I don't know why this func affect this issues.

ShawnBaek avatar Aug 15 '17 06:08 ShawnBaek

@ShawnBaek Yea, I've just seen your issue and tried removing viewDidAppear, but I still do have this. It happens after I present a controller, then tap on textInputBar.

fwx avatar Aug 15 '17 06:08 fwx

@lsvz In my experience, I also use this library after present view controller. I hope you to solve the problem.

ShawnBaek avatar Aug 15 '17 07:08 ShawnBaek

+1 @lsvz : were you able to solve the issue?

johndoehelloworld avatar Aug 16 '17 05:08 johndoehelloworld

@johndoehelloworld no. Currently working on it. I will post here if I find a solution.

fwx avatar Aug 17 '17 03:08 fwx

@johndoehelloworld I managed to fix adding slk_registerNotifications (you have to change .h file a little bit) after I dismiss the controller.

note that I had bug while opening a controller inside SLKTextViewController (for pictures selection)

fwx avatar Aug 17 '17 08:08 fwx

Any update on this? I'm glad to take a look if no one else has updates

tmspzz avatar Aug 18 '17 14:08 tmspzz

I solved this by adding my slackTextViewController as a childViewController of my current VC

tmspzz avatar Aug 18 '17 15:08 tmspzz

Update here. Had to make slk_registerNotifications public and then add self.slk_registerNotifications in viewDidAppear

fwx avatar Oct 11 '17 13:10 fwx

I'm also having this issue. Tested on iPhone 6, 8 Plus, and X, all running iOS 11.0.3.

Are there any plans to add the changes @fwx recommends to the library so I can keep using cocoapods to manage this dependency without having to fork it?

tditchek avatar Nov 09 '17 23:11 tditchek

@dzenbot Any updates or workarounds for this issue? It seems to be the cause of issue #615 as well. I've tried the slk_registerNotifications workaround @fwx suggested above, but it's not working for me. Any help would be greatly appreciated. Thanks!

tditchek avatar Nov 13 '17 15:11 tditchek