ev.preventDefault() }
- onClick={ props.isSub ? undefined : dismiss }
- //onMouseDown={ props.isSub ? undefined : dismiss }
+ onMouseDown={ ev => ev.stopPropagation() }
style={{
- zIndex: 100000,
- position: "fixed",
- left: 0,
- top: 0,
- width: "100vw",
- height: "100vh",
-
- backgroundColor: "transparent",
- pointerEvents: props.isSub ? "none" : undefined,
- }}>
-
- { props.children }
-
+ }}>
+ { props.children }