dmitrizzle/chat-bubble

zero-width for bubbles in iFrame context

dmitrizzle opened this issue · 2 comments

I am using your chatbubble. I notice that when I use it in a frame, the width of the say bubble reduces (see link https://ibb.co/kVn3Fdr ). I also notice that bubbleContent.offsetWidth in bubble.js for "say" is zero when i test it. This problem does not happen when running chat bubble outside of the frame and on a standalone. Can you assist me here? What do i need to adjust to fix this issue? Here is the link to screenshot: https://ibb.co/kVn3Fdr

Originally posted by @eokwara in #57 (comment)

Hey @eokwara, sorry your original comment got hidden by GitHub so I never got to see it until now. If you can provide me a working code sample (i.e. JSFiddle or similar), I would be better equipped to tell what may be going wrong.

Same as #88 , I decided to drop support for <iframe /> in this app. Instead, you should render HTML you have full control over on the app.