Automattic / happychat-client

Happychat customer client code
13 stars 5 forks source link

Stop chat pane from getting overly tall in Chrome #357

Closed andfinally closed 1 year ago

andfinally commented 1 year ago

Addressing 14589-gh-Automattic/woocommerce.com – HappyChat client on WooCommerce.com is getting inordinately big in some browsers.

I'm not able to reproduce this exactly, and I still have no idea what causes it – although I've observed two possibly related phenomena:

Changes in this PR

Testing

{
  "css_url": "http://localhost:9000/"
}
canChat: true,
entry: 'ENTRY_CHAT',

Deployment

D89154-code

Screenshots

Possible cause of tall container

image

Chat pane is limited to 768px high, composer pane is about 66px high, and messages are aligned at the bottom

image