signavio / react-mentions

@mention people in a textarea
https://react-mentions.vercel.app
Other
2.4k stars 560 forks source link

How to allow user to resize the textarea? #707

Open dmdum opened 11 months ago

dmdum commented 11 months ago

I want the user to be table to resize the textarea.

I've applied the css property: resize: vertical !important; to the *__input class.

The resize button is there, however, when I resize the textarea, the border doesn't seem to follow... Here is a sample

react-mentions-resize-attempt

What I want is for the textarea to behave the same way as AntD's textarea

antd-text-area

Rafael-Ramblas commented 6 months ago

Hey @dmdum Same problem here, did you find a solution?

dmdum commented 6 months ago

@Rafael-Ramblas it's been a while since I worked on this. I'll have to find that specific code and get back to you...

dmdum commented 6 months ago

Hey @dmdum Same problem here, did you find a solution?

Sorry, we didn't find a solution, in the end, we ended up doing this instead.