nebula.gl icon indicating copy to clipboard operation
nebula.gl copied to clipboard

Not compatible with deck.gl >= 8.5.0

Open kbobrowski opened this issue 3 years ago • 0 comments

Describe the bug

Running example-advanced with deck.gl >= 8.5.0 results in the following error:

Uncaught TypeError: Cannot read properties of null (reading 'cursor')
    at EditableGeoJsonLayer.getCursor (editable-geojson-layer.js:520)
    at Deck._updateCursor (deck.js:540)
    at Deck._onRenderFrame (deck.js:650)
    at AnimationLoop.onRender (animation-loop.js:229)
    at AnimationLoop._renderFrame (animation-loop.js:318)
    at AnimationLoop.redraw (animation-loop.js:154)
    at renderFrame (animation-loop.js:252)

This error is preventing the map from displaying.

Reproduce Steps

git clone https://github.com/kbobrowski/nebula-gl-cursor-error
yarn
yarn start

After changing @deck.gl/... versions to 8.4.20 it should work as expected.

To Do List

  • [ ] Add label and assign to milestone
  • [ ] Coding
  • [ ] Test

kbobrowski avatar Sep 07 '21 22:09 kbobrowski