signavio / react-mentions

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

Warning: React does not recognize the `displayTransform` prop on a DOM element. #692

Closed EdwinKato closed 1 year ago

EdwinKato commented 1 year ago

Hello,

I get this warning on react-mentions v4.4.9 and React v16.14.0. Do you see it on your end? image

Steps to reproduce:

  1. Use displayTransform prop while using react-mentions
  2. Check your console to see if there is a warning there

Expected behaviour:

  1. No warning the console

Observed behaviour:

  1. Warning on the console

Workaround:

Minor: can be ignored

EdwinKato commented 1 year ago

My bad, closing since displayTransform should be on the Mention component. That way, you won't see any warnings for it.