ChatBt iFrame Load with delay (embed.min.js issue) #11225

Closed
opened 2026-02-21 18:57:08 -05:00 by yindo · 0 comments
Owner

Originally created by @asrguru20 on GitHub (Mar 16, 2025).

Originally assigned to: @crazywoola on GitHub.

Self Checks

  • This is only for bug report, if you would like to ask a question, please head to Discussions.
  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
  • [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
  • Please do not modify this template :) and fill in all the required fields.

Dify version

0.15.3

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

install dify version newer than version 0.8.3
embed the chat iframe to the body of your site
open the chat bot and after about 4 seconds chatbot windows appears to function

I also attached a video to see this issue, in the video First I embed the chat bot with embed.min.js version 0.15.3 testing the chat bot and it open up with delay but when I downgrade the embed.min.js to dify version 0.8.3 the chatbot bubble opens up instantly so this is the issue related to embed.min.js
note : The delay is for both Page iframe and chat Bubble body iframe
and also I noticed that Dify chatbot iframe In version 1.0.x has more delay

https://github.com/user-attachments/assets/b52784d9-0923-442c-ad6b-57c58a461fee

✔️ Expected Behavior

the chatbot in iframe mode should open up fast as you click on it

Actual Behavior

the chatbot iframe for both Bubble and page embed mode appears with 3 to 4 seconds

Originally created by @asrguru20 on GitHub (Mar 16, 2025). Originally assigned to: @crazywoola on GitHub. ### Self Checks - [x] This is only for bug report, if you would like to ask a question, please head to [Discussions](https://github.com/langgenius/dify/discussions/categories/general). - [x] I have searched for existing issues [search for existing issues](https://github.com/langgenius/dify/issues), including closed ones. - [x] I confirm that I am using English to submit this report (我已阅读并同意 [Language Policy](https://github.com/langgenius/dify/issues/1542)). - [x] [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:) - [x] Please do not modify this template :) and fill in all the required fields. ### Dify version 0.15.3 ### Cloud or Self Hosted Self Hosted (Docker) ### Steps to reproduce install dify version newer than version 0.8.3 embed the chat iframe to the body of your site open the chat bot and after about 4 seconds chatbot windows appears to function I also attached a video to see this issue, in the video First I embed the chat bot with embed.min.js version 0.15.3 testing the chat bot and it open up with delay but when I downgrade the embed.min.js to dify version 0.8.3 the chatbot bubble opens up instantly so this is the issue related to embed.min.js note : The delay is for both Page iframe and chat Bubble body iframe and also I noticed that Dify chatbot iframe In version 1.0.x has more delay https://github.com/user-attachments/assets/b52784d9-0923-442c-ad6b-57c58a461fee ### ✔️ Expected Behavior the chatbot in iframe mode should open up fast as you click on it ### ❌ Actual Behavior the chatbot iframe for both Bubble and page embed mode appears with 3 to 4 seconds
yindo added the 🐞 bug label 2026-02-21 18:57:08 -05:00
yindo closed this issue 2026-02-21 18:57:08 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#11225