Skip to content

Cannot read properties of null (reading 'nodeType') (usage from "rc-align") #67

@maxh

Description

@maxh

We are seeing an error in this line of code in our error tracking:

if (utils.isWindow(element) || element.nodeType === 9) {

The stack trace indicates it's coming from rc-align usage:

image

Looks it might be fixable with safe property access within this library, but not sure exactly what's going on. Any help appreciated. Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions