isaced / ISEmojiView

Emoji Keyboard for iOS
MIT License
522 stars 119 forks source link

Cannot click button on text input bar when emojiView is visible. #21

Closed junestchick closed 5 years ago

junestchick commented 6 years ago

Hi, i am creating a chat VC and it has an input text bar includes a send button and a textview with inputView is ISEmojiView. The problem is when EmojiView is visible, the emoji button and send button is notclickable. Can you help me? Thanks. image

isaced commented 6 years ago

Can you upload a demo to show this problem?

junestchick commented 6 years ago

As you see, i press emoji button to switch to emoji keyboard, but cannot switch back. The button implements: inputTextView.inputView = isShowEmoji ? emojiView : nil inputTextView.reloadInputViews() I think maybe these buttons was covered by something when emoji view is showing. https://streamable.com/8ineg

isaced commented 6 years ago

Can you provide a sample project?

Ngsetest commented 6 years ago

I have the same problem

yorkwang commented 6 years ago

Same problem here, any solution?

yorkwang commented 6 years ago

Just comment out below codes in EmojiView.swift will fix this issue.

`
override public func point(inside point: CGPoint, with event: UIEvent?) -> Bool {

    guard point.y < 0 else {
        return super.point(inside: point, with: event)
    }

    return point.y >= -TopPartSize.height
}

`

isaced commented 6 years ago

Sorry, I'm late, now it's fixed.

pod 'ISEmojiView', '0.1.1'
isaced commented 5 years ago

Fixed again, thanks for feedback, please try the new version (0.2.3).