Skip to content

Commit

Permalink
set React wrapper's z-index (#4068)
Browse files Browse the repository at this point in the history
  • Loading branch information
Pessimistress authored and Xiaoji Chen committed Dec 22, 2019
1 parent 3dbae25 commit 169066c
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion modules/react/src/deckgl.js
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,14 @@ export default class DeckGL extends React.Component {

// This styling is enforced for correct positioning with children
const style = Object.assign(
{position: 'absolute', left: 0, top: 0, width: this.props.width, height: this.props.height},
{
position: 'absolute',
zIndex: 0,
left: 0,
top: 0,
width: this.props.width,
height: this.props.height
},
this.props.style
);

Expand Down

0 comments on commit 169066c

Please sign in to comment.