Open emersoncodetv opened 6 years ago
I am trying to use modal from semantic-ui-react with Map but when I use relative position doesn't work.
import React, { Component } from "react"; import { Map, Marker, GoogleApiWrapper } from 'google-maps-react'; export class MapContainer extends Component { render() { return ( <Map style={{ height: "250px" , width: "100%" , position: "relative" }} google={this.props.google} zoom={14}> <Marker onClick={this.onMarkerClick} name={'Current location'} /> </Map> ); } } export default GoogleApiWrapper({ apiKey: ("API_KEY") })(MapContainer)
Please make a https://codesandbox.io/ to demonstrate the error. Thanks
I am trying to use modal from semantic-ui-react with Map but when I use relative position doesn't work.