mirror of
https://github.com/directus/directus.git
synced 2026-02-02 14:55:24 -05:00
Fix header bar shadow on opening drawer
This commit is contained in:
@@ -63,7 +63,7 @@ export default defineComponent({
|
||||
|
||||
const observer = new IntersectionObserver(
|
||||
([e]) => {
|
||||
collapsed.value = e.intersectionRatio < 1;
|
||||
collapsed.value = e.boundingClientRect.y === -1;
|
||||
},
|
||||
{ threshold: [1] }
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user