Skip to content

Commit

Permalink
fix(InfoWindow): do not remove container element on mount
Browse files Browse the repository at this point in the history
* Introduced by 6a61f2c
* Closes #696
  • Loading branch information
MrSaints authored and tomchentw committed Nov 24, 2017
1 parent f008c2c commit ed764c6
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/macros/InfoWindow.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@ export class InfoWindow extends React.PureComponent {
if (React.version.match(/^16/)) {
this.state[INFO_WINDOW].setContent(this.containerElement)
open(this.state[INFO_WINDOW], this.context[ANCHOR])
this.containerElement = undefined
return
}
const content = document.createElement(`div`)
Expand Down

0 comments on commit ed764c6

Please sign in to comment.