MCPcopy Create free account
hub / github.com/reactstrap/reactstrap / close

Function close

src/Offcanvas.js:352–358  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

350 }
351
352 close() {
353 this.manageFocusAfterClose();
354 Offcanvas.openCount = Math.max(0, Offcanvas.openCount - 1);
355
356 document.body.style.overflow = null;
357 setScrollbarWidth(this._originalBodyPadding);
358 }
359
360 clearBackdropAnimationTimeout() {
361 if (this._backdropAnimationTimeout) {

Callers

nothing calls this directly

Calls 1

setScrollbarWidthFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…