When the style parameter of the Mask is set, the style properties don't go away after it becomes inactive
My Code:
<SeeThrough style={{ "box-shadow": "5px 10px 8px 10px #888888", }} active={this.state.activeSee} onClick={(masked) => !masked && this.setActiveSee(!this.state.activeSee) } >
Attaching screenshots of state active and inactive in order


Expected Behaviour :
Inactive state :
