- Issue created by @samhaldia
- πΊπΈUnited States samhaldia Philadelphia
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
- π¦π·Argentina ffernandezz Buenos Aires
Hi Samhaldia,
How were you able to solve this? I'm having the same problem and I thought it was a problem with the IDs that were generated.
Thank you very much