flex3r / DankChat

Don't you guys have phones?
MIT License
266 stars 37 forks source link

Animated emote typing preview freezes #471

Open ScrubN opened 1 year ago

ScrubN commented 1 year ago

The first time an animated emote appears in the typing suggestions list, it seems to always be stuck at frame 0. When typing more to refresh the suggestion list, it will play more of the emote's frames but it will still get stuck before reaching the end and will not loop. Subsequent occurrences seem to be hit or miss if the emote will freeze or play normally.

This seems to only affect the typing suggestion list. Animated emotes were playing normally and looping in chat while testing, and the emote menu also works as expected.

Device: Samsung S20+ 5G Snapdragon

flex3r commented 1 year ago

Yeah, I've known this issue for a while now. I'm pretty sure it's because of the component I'm using for the suggestions. It's a pretty old one so not sure if this can be fixed with the current one or if a full rewrite might be easier