diff options
| author | Henry Jameson <me@hjkos.com> | 2024-02-11 23:11:28 +0200 |
|---|---|---|
| committer | Henry Jameson <me@hjkos.com> | 2024-02-11 23:11:28 +0200 |
| commit | 98f972e557047a626880692189fdae68269a732e (patch) | |
| tree | 398d38fc7a5712e9ba9613d008b0d250136aa35e /src/components/underlay.style.js | |
| parent | 9ec61d0f0a26369196d9e9b4ac62f4a5b3c38ce1 (diff) | |
menu-item improvements
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' |
