Can you elaborate a little bit on how this works?
In my case, I have a list that loop through an array. In each item, I have a button. The button should be able to open the emoji picker.
Overall, I can make the button call the NSApp.orderFrontCharacterPalette(nil). but the position is super random. sometimes the character palette appear as a window instead of tooltip.