diff --git a/webmaker/src/components/ContentWrap.jsx b/webmaker/src/components/ContentWrap.jsx index ff3ddbe..5251d43 100644 --- a/webmaker/src/components/ContentWrap.jsx +++ b/webmaker/src/components/ContentWrap.jsx @@ -4,6 +4,7 @@ import { computeHtml, computeCss, computeJs } from '../computes'; import { HtmlModes, CssModes, JsModes } from '../codeModes'; import { log } from '../utils'; import { SplitPane } from './SplitPane.jsx'; +import { trackEvent } from '../analytics'; const BASE_PATH = chrome.extension || window.DEBUG ? '/' : '/app'; const minCodeWrapSize = 33; diff --git a/webmaker/src/style.css b/webmaker/src/style.css index f76f1c2..e57900f 100644 --- a/webmaker/src/style.css +++ b/webmaker/src/style.css @@ -697,6 +697,8 @@ body>#demo-frame { visibility: hidden; background-color: rgba(102, 51, 153, 0.7); background-color: rgba(0, 0, 0, 0.7); + /* To prevent scroll repaint inside modal */ + will-change: transform; } .modal__close-btn {