Comparing version 3.2.6 to 3.2.7
@@ -21,3 +21,5 @@ import React from 'react'; | ||
this._cache = this.context.getTabCache(cacheId, this); | ||
this._ref.appendChild(this._cache.div); | ||
if (!this._ref.contains(this._cache.div)) { | ||
this._ref.appendChild(this._cache.div); | ||
} | ||
this.context.updateTabCache(this._cache.id, children); | ||
@@ -24,0 +26,0 @@ } |
@@ -26,3 +26,5 @@ "use strict"; | ||
this._cache = this.context.getTabCache(cacheId, this); | ||
this._ref.appendChild(this._cache.div); | ||
if (!this._ref.contains(this._cache.div)) { | ||
this._ref.appendChild(this._cache.div); | ||
} | ||
this.context.updateTabCache(this._cache.id, children); | ||
@@ -29,0 +31,0 @@ } |
{ | ||
"name": "rc-dock", | ||
"version": "3.2.6", | ||
"version": "3.2.7", | ||
"description": "dock layout for react component", | ||
@@ -5,0 +5,0 @@ "repository": { |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
574862
15350