MCPcopy Index your code
hub / github.com/reactstrap/reactstrap / manageFocusAfterClose

Function manageFocusAfterClose

src/Offcanvas.js:343–350  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

341 }
342
343 manageFocusAfterClose() {
344 if (this._triggeringElement) {
345 const { returnFocusAfterClose } = this.props;
346 if (this._triggeringElement.focus && returnFocusAfterClose)
347 this._triggeringElement.focus();
348 this._triggeringElement = null;
349 }
350 }
351
352 close() {
353 this.manageFocusAfterClose();

Callers

nothing calls this directly

Calls 1

focusMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…