Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
dmdum opened this issue Sep 5, 2023 · 5 comments

Comments

@dmdum
Copy link

dmdum commented Sep 5, 2023

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 dmdum changed the title Multiline (Scrollable): Suggestions are not directly below the input cursor/insertion caret (present in the react-mentions vercel app) Multiline (Scrollable): Suggestions are not directly below the input cursor/insertion caret when inside another component (present in the react-mentions vercel app) Sep 5, 2023
@dmdum
Copy link
Author

dmdum commented Sep 5, 2023

@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?

@frontendphil
Copy link
Contributor

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.

@dmdum
Copy link
Author

dmdum commented Sep 5, 2023

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.

@miguelgpsp
Copy link

@dmdum did you find any solution for this?

@dmdum
Copy link
Author

dmdum commented Apr 1, 2024

@dmdum did you find any solution for this?

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants