FIX: restore behaviour of adding docked classname to document body during header updates (#26967)

This commit is contained in:
Kelv 2024-05-10 16:41:17 +08:00 committed by GitHub
parent 113e6fd274
commit 38c1312dfb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,5 +1,6 @@
import Component from "@glimmer/component";
import { DEBUG } from "@glimmer/env";
import { tracked } from "@glimmer/tracking";
import { action } from "@ember/object";
import didInsert from "@ember/render-modifiers/modifiers/did-insert";
import { cancel, schedule } from "@ember/runloop";
@ -28,10 +29,11 @@ export default class GlimmerSiteHeader extends Component {
@service site;
@service header;
docking;
pxClosed;
headerElement;
docking;
_dockedHeader = false;
@tracked _dockedHeader = false;
_animate = false;
_headerWrap;
_swipeMenuOrigin;