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

fix(1002): make embed chat icon less weird in iframe #5640

Merged
merged 2 commits into from
Nov 1, 2021
Merged

Conversation

tomkcey
Copy link
Contributor

@tomkcey tomkcey commented Nov 1, 2021

closes DEV-1002
Issue

Now looks like this instead. Not perfect but the execution flow as well as accessing the specific stylesheet is a bit complicated in an obscure React component as well as it being injected into an iframe.
Screenshot from 2021-11-01 16-47-10

@slvnperron slvnperron merged commit 99b1a9b into x_segfault Nov 1, 2021
@linear
Copy link

linear bot commented Nov 11, 2021

DEV-1002 (BUG) Style applied during loading - channel-web (botpress/botpress botpress/v12#1000)

When a bot is loaded on a web page, depending on loading speed and page load, the "Chat window" title text may be visible before the default or custom button is shown, or other styling issues where it looks like some is applied before others.

Steps to reproduce the behaviour:

  1. Open the embedded-webchat example page for any existing bot
  2. Refresh multiple times very fast

Example, see frames 55 to 65 of this gif:
Chat window

Expected behaviour:
Styling should be applied all at once when everything is ready, potentially making it invisible until ready.

Environment:

  • Reported in version 12.9

@tomkcey tomkcey mentioned this pull request Nov 16, 2021
13 tasks
This was referenced Dec 2, 2021
@samuelmasse samuelmasse deleted the fix/1002 branch January 28, 2022 20:52
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

Successfully merging this pull request may close these issues.

None yet

2 participants