Fixed the bug where Theatre's UI embedded in 3rd-party shadow dom wouldn't receive pointer events.
This commit is contained in:
parent
816e67a814
commit
62f363f6d4
1 changed files with 3 additions and 1 deletions
|
@ -2,7 +2,9 @@ import {lighten} from 'polished'
|
|||
import {css} from 'styled-components'
|
||||
|
||||
export const pointerEventsAutoInNormalMode = css`
|
||||
#pointer-root & {
|
||||
pointer-events: none;
|
||||
}
|
||||
#pointer-root.normal & {
|
||||
pointer-events: auto;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue