Skip to content

Comments: EmojiPicker clipped in the Thread modal #2053

@AntoLC

Description

@AntoLC

Is your feature request related to a problem? Please describe.
We can have lot of comments in a thread, so we add a scroller inside the Thread, we can have the input at the bottom easily accessible as well like that.
The problem with that is the EmojiPicker is clipped inside the Thread container, so part of it is hidden and not easily accessible.

Image

Describe the solution you'd like
An easy solution would be to use createPortal around the EmojiPicker, to have the modal floating above the container: https://react.dev/reference/react-dom/createPortal#rendering-a-modal-dialog-with-a-portal

The problematic EmojiPicker are these 2:


Bonus

  • I'm a sponsor and would appreciate if you could look into this sooner than later 💖

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions