Skip to content

Commit 8ebe54f

Browse files
committed
Address comments
1 parent 103fd90 commit 8ebe54f

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

modules/react/src/deckgl.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,11 @@ function DeckGLWithRef<ViewsT extends ViewOrViews = null>(
261261

262262
const eventRoot = createElement(
263263
'div',
264-
{key: 'deck-events-root', className: 'deck-events-root'},
264+
{
265+
key: 'deck-events-root',
266+
className: 'deck-events-root',
267+
style: {width, height}
268+
},
265269
[canvas, childrenUnderViews]
266270
);
267271

0 commit comments

Comments
 (0)