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

suggestion position is not correct

Open dodoto opened this issue 2 years ago • 5 comments

Steps to reproduce:

  1. add @xxx
  2. input long text
  3. input @ to show suggestion

Expected behaviour: @[position here]

Observed behaviour: @xxxxx [position here]long long text @

Workaround: blur and focus, position is correct. onTextChange control input to blur and focus, but when input chinese will insert multiple content to text mention

dodoto avatar Aug 09 '22 06:08 dodoto

Same problem here. @dodoto, did you found a way to fix this problem programmatically? If positive, could you post the workaround code? I'm trying to figure it out for the past two days with no success. Thanks!

yuridamata avatar Aug 09 '22 15:08 yuridamata

Same problem here. @dodoto, did you found a way to fix this problem programmatically? If positive, could you post the workaround code? I'm trying to figure it out for the past two days with no success. Thanks!

Downgrading the lib to 4.3.2 version solves this problem.

yuridamata avatar Aug 09 '22 16:08 yuridamata

I try 4.4.6, it works well.

dodoto avatar Aug 10 '22 01:08 dodoto

Still facing the same problem even after downgrading to both above mentioned versions.

MoidHasanBeig avatar Jan 27 '23 08:01 MoidHasanBeig

Same for me, even when downgrading still have the issue

lagroms avatar Mar 17 '23 11:03 lagroms