Skip to content

Html Panel is sometimes empty #7

Open
@lechinoix

Description

@lechinoix

Hello,

I have been using the new HtmlPanel component, but I am encountering a weird issue that I cannot overcome. On loading, the htmlpanel iframe content is removed from the DOM for some reason, but React keeps its reference to the body element and keeps posting updates to the zombie element. Things that I noticed :

  • When using mobile display (first conversation list, then conversation content), the html panel works like a charm
  • When updating the component from my devserver, the panel appears and remains in the DOM

I suspect that it is something related to the load of the Inbox / Sesssion, but I cannot find an onLoad event to wait for on Inbox or Session.

Could you help me on that ? A debugging example can be found on https://staging.barooders.com (create account + go to chat)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions