Yoctol / react-messenger-customer-chat

React component for messenger customer chat plugin
MIT License
272 stars 69 forks source link

The chat is not auto expanding #69

Open trompx opened 3 years ago

trompx commented 3 years ago

I use the chat but despite it is auto expanding when I copy the widget provided directly by facebook on an html page, when I try to implement the chat via your plugin in a react app, the chat is not directly displayed when the page load.

I use:

<MessengerCustomerChat
  pageId="XXXXXX"
  themeColor="#000000"
  greetingDialogDisplay="show"
  htmlRef="fb-customer-chat"
  version="9.0"
  language="fr_FR"
/>

I tried different version, language, all greetingDialogDisplay, with or without delay, nothing works, the chat is never auto expanded.

DiegoRodriguez93 commented 3 years ago

try with this props

      minimized={false}
      shouldShowDialog={true}