The following variables are used for emoji-pickers, but they are currently module-GLOBAL variables instead of instance fields.
let $picker, $filter, $results, $list, scrollPosition, $visibleSections, _checkTimeout;
$picker is used to popup the emoji-picker. It is a module-global variable, so what that means is that there CANNOT BE any permanent emoji-picker’s on the page (e.g.
discourse/retort both put emoji-pickers permanently on the page).
When the compose-reply window is open, the standard emoji picker is created, overwriting
$picker for everybody, causing all permanent emoji-pickers on the page to break.
Suggestion is to move all these variables into the class definition, and make them instance-specific fields. This should then allow for multiple emoji-pickers to co-exist on the same page with conflicts.