mirror of
https://github.com/Redocly/redoc.git
synced 2025-01-31 10:04:08 +03:00
fixes #276
This commit is contained in:
parent
75bb68c9ca
commit
f50bfb1823
|
@ -40,7 +40,7 @@ export class StickySidebar implements OnInit, OnDestroy {
|
|||
this.unstick();
|
||||
}
|
||||
|
||||
if ( this.scrollY + window.innerHeight - this.scrollYOffset() >= this.$redocEl.scrollHeight) {
|
||||
if ( this.scrollY + window.innerHeight - this.scrollYOffset() >= this.$redocEl.scrollHeight && this.$element.parentElement.parentElement.className != 'loading') {
|
||||
this.stickBottom();
|
||||
stuck = true;
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue
Block a user