Fixed the bug where Theatre's UI embedded in 3rd-party shadow dom wouldn't receive pointer events.

This commit is contained in:
Aria Minaei 2021-08-07 13:12:35 +02:00
parent 816e67a814
commit 62f363f6d4

View file

@ -2,7 +2,9 @@ import {lighten} from 'polished'
import {css} from 'styled-components'
export const pointerEventsAutoInNormalMode = css`
pointer-events: none;
#pointer-root & {
pointer-events: none;
}
#pointer-root.normal & {
pointer-events: auto;
}