From 825543d9a9b0cbea3a26b086d730e5c98841af55 Mon Sep 17 00:00:00 2001 From: Agney Date: Wed, 18 Dec 2019 00:15:28 +0530 Subject: [PATCH] Add after to detect document mousemove --- playground/src/Result/Frame.tsx | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/playground/src/Result/Frame.tsx b/playground/src/Result/Frame.tsx index a120535..e652dd6 100644 --- a/playground/src/Result/Frame.tsx +++ b/playground/src/Result/Frame.tsx @@ -8,6 +8,17 @@ import ErrorDisplay from "./ErrorDisplay"; const Container = styled.div` position: relative; height: 100%; + + &::after { + content: ""; + display: inline-block; + position: absolute; + width: 100%; + height: 100%; + z-index: 1; + top: 0; + left: 0; + } `; interface IProps {