Version: 31.4.0
Description:
closePopover doesn't emit on outside click when on initial render popover receives isOpen prop.
Reproduction: https://codesandbox.io/s/hungry-fog-zxc7z?file=/index.js
Current behavior:
Clicking outside the popover which was opened during the initial render doesn't call closePopover.
If to close it using the button and open it again, then click outside works
Expected behavior:
Clicking outside the popover should call closePopover even if the popover was opened during the initial render.
Version: 31.4.0
Description:
closePopover doesn't emit on outside click when on initial render popover receives
isOpenprop.Reproduction: https://codesandbox.io/s/hungry-fog-zxc7z?file=/index.js
Current behavior:
Clicking outside the popover which was opened during the initial render doesn't call
closePopover.If to close it using the button and open it again, then click outside works
Expected behavior:
Clicking outside the popover should call
closePopovereven if the popover was opened during the initial render.