react-mentions icon indicating copy to clipboard operation
react-mentions copied to clipboard

Multiline (Scrollable): Suggestions are not directly below the input cursor/insertion caret when inside another component (present in the react-mentions vercel app)

Open dmdum opened this issue 2 years ago • 5 comments
trafficstars

Steps to reproduce:

  1. Open the react-mentions vercel app: https://react-mentions.vercel.app/
  2. Go to the Suggestion portal example section.
  3. Use the second input. Press enter 5 (or more) times.
  4. Press @ to open the suggestions.

Alternatively, you can open this reproduction link in stackblitz and proceed to step 3 above.

Expected behaviour: The suggestions should still be directly under the input cursor/insertion caret.

Observed behaviour: The suggestions have moved further down, as if the input was not scrollable. The top property was not calculated properly. image

Workaround: None so far

dmdum avatar Sep 05 '23 04:09 dmdum

@jfschwarz @frontendphil sorry to blatantly tag you guys like this, but is this just a style issue? Is there a workaround I can do for this?

dmdum avatar Sep 05 '23 08:09 dmdum

Hey! Sorry but both Jan and I don't work for signavio anymore. We also can't actively contribute to this repo anymore for the same reason.

frontendphil avatar Sep 05 '23 08:09 frontendphil

Hey! Sorry but both Jan and I don't work for signavio anymore. We also can't actively contribute to this repo anymore for the same reason.

Oh I see, thanks for taking the time to reply.

dmdum avatar Sep 05 '23 09:09 dmdum

@dmdum did you find any solution for this?

miguelgpsp avatar Mar 15 '24 12:03 miguelgpsp

@dmdum did you find any solution for this?

Sorry for the extremely late reply. Unfortunately, no, I have not.

dmdum avatar Apr 01 '24 02:04 dmdum