Closed AugusteBa closed 5 years ago
This PR addresses the following issue:
When a childWindow (managed by useChildWindow hook) is closed manually by clicking on X rather than programmatically using childWindow.close(), windowRef still is an object when in fact is should be reset to null.
childWindow
X
childWindow.close()
windowRef
null
This PR addresses the following issue:
When a
childWindow
(managed by useChildWindow hook) is closed manually by clicking onX
rather than programmatically usingchildWindow.close()
,windowRef
still is an object when in fact is should be reset tonull
.