nathantannar4 / InputBarAccessoryView

A simple and easily customizable InputAccessoryView for making powerful input bars with autocomplete and attachments
MIT License
1.17k stars 229 forks source link

The mentionTextAttributes is used for pasting new text. #249

Open xinus opened 1 year ago

xinus commented 1 year ago

Describe the bug The mentionTextAttributes is used for pasting new text.

To Reproduce Steps/code to reproduce the behavior:

  1. Run example and go to "Slack" page.
  2. Typing any message with mention, like "@Avatar hello.", and send.
  3. Pasting any text from anywhere, like "Hi".
  4. The "Hi" in the in inputbar looks like using the mentionTextAttributes, hightlighted by blue color.

Expected behavior

  1. The "Hi" is the plain text style, not using any attributes.

Screenshots Easy to reproduce.

Environment Any

Additional context No