Skip to content

TypeError: Cannot read properties of undefined (reading 'getBoundingClientRect' #180

@skedwards88

Description

@skedwards88

I am getting an unhandled error TypeError: Cannot read properties of undefined (reading 'getBoundingClientRect'. I'm not sure what triggers this, but it seems like it occurs when I try to drag the element outside of the drop target.

I am using version 3.0.0-rc.0.

image

Project where this occurs:

sha f5fbb66ffba31ed8068c03b8a2236c585577f565 on https://github.com/skedwards88/sector-new.

Clone the repo, checkout the above sha, then run npm install, npm run build, npm run dev and view the project at http://localhost:8081/.

Drag the tile at the bottom of the game onto the board, then try to drag the tile out of the gray area.

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