mirror of
https://github.com/zulip/zulip.git
synced 2025-11-15 11:22:04 +00:00
We now use `fix_positions` to avoid cropping the emoji picker. You can see cropping pretty easily on a short screen if you click the smiley icon for reactions on a message. It's a bit tricky to repro, since some of the current top/bottom placements are correct, but it's definitely reproducible. I think there are opportunities to both simplify and optimize `popovers.compute_placement`, so that it plays nicer with `fix_positions`. For example, I would bias it even more strongly toward favoring right/left placement. But there are complicating factors--it is also used by the hotspot code. And I wanted to especially preserve the current behavior when you launch the picker from the compose box. That's one place where it looks pretty bad if you select "right" instead of "bottom".
26 KiB
26 KiB