signavio / react-mentions

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

The shading of the mention appears in a different place when the paragraph begins to be greater than two lines #662

Open Darcy0213 opened 1 year ago

Darcy0213 commented 1 year ago

Steps to reproduce:

  1. I'm using mantis, which is a UI material template.
  2. I have placed the component as it was in the MultipleTrigger example.js without changing a single line of code.
  3. First I put it inside a drawer but seeing the error I wanted to put it at a primary level so that no style affects the component but the error persists.

The shadow of the mentions is expected to be in place whatever the size of the text. Here you can see the error https://drive.google.com/file/d/1QrKXl6cMMeIU9_zVnIWyCzZCmJZFYB8x/view?usp=sharing

Observed behaviour: Shadows are not in place and are positioned in a place where there is no text

mojinet commented 1 year ago

same issue here