Describe the current behavior
sticky header does not work properly when scrolling while the drop-down menu is open
Describe the expected behavior
when scroll up while drop-down menu is open,
drop-down menu should be close
and the header should be sticky
Version information (Dawn, browsers and operating systems)
Dawn Version: 5.0.0
Chrome Version 100.0.4896.127 (Official Build) (64-bit)
Windows 10 Pro
Possible solution
change the HTML tag:
-->
and also the script:
class StickyHeader extends HTMLElement {
...
closeMenuDisclosure() {
this.disclosures = this.disclosures || this.header.querySelectorAll('details-disclosure');
this.disclosures.forEach(disclosure => disclosure.close());
}
...
}
**Additional context/screenshots**
Add any other context about the problem here. If applicable, add screenshots to help explain.
Describe the current behavior sticky header does not work properly when scrolling while the drop-down menu is open
Describe the expected behavior when scroll up while drop-down menu is open, drop-down menu should be close and the header should be sticky
Version information (Dawn, browsers and operating systems)
Possible solution
change the HTML tag: