- Issue created by @samhaldia
- 🇮🇳India samhaldia
On inevestigaion found Drupal Core applying those changes to HTML DOM Element, which disrupted the behavior of Left Nav menu in API Doc rendering
There are other Jquery's with similar effect to HTML DOM Element:
web\core\misc\tableheader.es6.js:
this.$html.css(
'scroll-padding-top',
displace.offsets.top +
(this.stickyVisible ? this.$stickyTable.height() : 0),
);
web\core\misc\tableheader.js:this.$html.css('scroll-padding-top', displace.offsets.top + (this.stickyVisible ? this.$stickyTable.height() : 0));
The Drupal Core Jquery affecting or applying the *scroll-padding-top to HTML DOM element in actual is:*\web\core\modules\toolbar\js\views\ToolbarVisualView.js