Open PatrickKing opened 1 year ago
When using a reactjs-popup modal in a simple use case, the 'open' prop doesn't control the modal. Clicking on the modal backdrop will cause the modal to close.
<Popup modal open = { true }> <span> Modal content </span> </Popup>
This seems like I may have missed something. Or perhaps Popup isn't a really controlled component?
2.0.5
When clicking on the backdrop, the popup honours the value of the 'open' prop and remains open.
The popup closes, ignoring the value of the 'open' prop.
When using a reactjs-popup modal in a simple use case, the 'open' prop doesn't control the modal. Clicking on the modal backdrop will cause the modal to close.
This seems like I may have missed something. Or perhaps Popup isn't a really controlled component?
Version
2.0.5
Test Case
Expected Behavior
When clicking on the backdrop, the popup honours the value of the 'open' prop and remains open.
Actual Behavior
The popup closes, ignoring the value of the 'open' prop.