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

Cannot add emojis or use boolean props. react-chat-widget 3.1.0 #277

Open
vlrags opened this issue Oct 27, 2021 · 7 comments
Open

Cannot add emojis or use boolean props. react-chat-widget 3.1.0 #277

vlrags opened this issue Oct 27, 2021 · 7 comments

Comments

@vlrags
Copy link

vlrags commented Oct 27, 2021

guys i'm trying to add emojis but none of the boolean props doesn't seem to work

<Widget
title="Troll box"
subtitle=""
emojis={true}
showCloseButton={true}
showBadge={false}
handleNewUserMessage={handleNewUserMessage}

/>

am i doing something wrong ?

@krajcikondra
Copy link

Are you sure that you are using version 3.1.0? Version 3.1.0 didn't work me due some bug in library and older version does not support emoji. I think you are using older version. Am I right?

@vlrags
Copy link
Author

vlrags commented Oct 28, 2021

npm install git+https://github.com/Wolox/react-chat-widget.git
After running this command i should have react-chat-widget v 3.1.0, right ?

@krajcikondra
Copy link

Probably yes, but I use rather npm i react-chat-widget.

Try check version by this command:

cat node_modules/react-chat-widget/package.json | grep version

Is in output really "version": "3.1.0"?

@vlrags
Copy link
Author

vlrags commented Oct 28, 2021

image

It looks like yes

@krajcikondra
Copy link

krajcikondra commented Oct 28, 2021 via email

@vlrags
Copy link
Author

vlrags commented Nov 1, 2021

no errors.. it works for you ?

@krajcikondra
Copy link

Yes, it works to me, but ....

  1. I forked package due to an error React chat widget v3.1.0 doesn't work #269 and I revert commit with bug
  2. Emojis dont work good. When I select emojis then to sender component I get native emojis instead google emojis and a lot emojis don`t work and display as rectangle

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

2 participants