Skip to content

msgRef.current is null but got check undefined in the ContentEditable component causing app crashed #55

@necrosource-bot

Description

@necrosource-bot

I am facing an error that it'll crash the app entirely. When I traced the error, it shows into this part:

if (typeof msgRef.current === "undefined") {
  return true;
}

image

image

Based on the error, I think the above line should be checking for null not undefined right. Someone please help, thanks a lot!!

Originally posted by @tunglamforwork in chatscope#173

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions