diff options
Diffstat (limited to 'src/components/underlay.style.js')
| -rw-r--r-- | src/components/underlay.style.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/components/underlay.style.js b/src/components/underlay.style.js index f879c530..68fd6c06 100644 --- a/src/components/underlay.style.js +++ b/src/components/underlay.style.js @@ -1,6 +1,9 @@ export default { name: 'Underlay', - selector: 'body', // Should be '#content' but for now this is better for testing until I have proper popovers and such... + selector: '#content', + // Out of tree selector: Most components are laid over underlay, but underlay itself is not part of the DOM tree, + // i.e. it's a separate absolutely-positioned component, so we need to treat it differently depending on whether + // we are searching for underlay specifically or for whatever is laid on top of it. outOfTreeSelector: '.underlay', validInnerComponents: [ 'Panel' |
