MCPcopy
hub / github.com/APSL/react-native-keyboard-aware-scroll-view / componentWillUnmount

Method componentWillUnmount

lib/KeyboardAwareHOC.js:257–264  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

255 }
256
257 componentWillUnmount() {
258 this.mountedComponent = false
259 this.keyboardWillShowEvent && this.keyboardWillShowEvent.remove()
260 this.keyboardWillHideEvent && this.keyboardWillHideEvent.remove()
261 Object.values(this.callbacks).forEach((callback: Object) =>
262 callback.remove()
263 )
264 }
265
266 getScrollResponder = () => {
267 return (

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected