Open ghost opened 4 years ago
There's a small bug which prevents the emoji completion popup from closing up. It occurs when there's no results and you erase your message.
One way to close it up is to type anything just to pop another completion and then erase your message.
I was able to fix it by calling *State.ClearCompletion() on the line down below. It's a hacky way I found to correct this behavior.
https://github.com/diamondburned/gtkcord3/blob/45cce77b76b35dfbf3dce4198e9b2690ef7058b1/gtkcord/components/message/completer/completer.go#L228
There's a small bug which prevents the emoji completion popup from closing up. It occurs when there's no results and you erase your message.
One way to close it up is to type anything just to pop another completion and then erase your message.
I was able to fix it by calling *State.ClearCompletion() on the line down below. It's a hacky way I found to correct this behavior.
https://github.com/diamondburned/gtkcord3/blob/45cce77b76b35dfbf3dce4198e9b2690ef7058b1/gtkcord/components/message/completer/completer.go#L228