Skip to content

block-draggable caused error when hover over an element #4812

@AchrafBn

Description

@AchrafBn

Description

Hello,

when I hover over an element , the onMouseDown method is called and throws this error

Uncaught TypeError: Cannot read properties of undefined (reading 'getNodes')
at onMouseEnter (block-draggable.tsx:289:16)

Reproduction URL

https://github.com/AchrafBn/platejs-test-example/

Reproduction steps

1- type something and hover over it

Plate version

52

Slate React version

I don't use slate

Screenshots

Logs

Browsers

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions