MCPcopy Create free account
hub / github.com/CommE2E/comm / componentDidUpdate

Function componentDidUpdate

native/components/tag-input.react.js:148–155  ·  view source on GitHub ↗
(prevProps: BaseTagInputProps<T>, prevState: State)

Source from the content-addressed store, hash-verified

146 }
147
148 componentDidUpdate(prevProps: BaseTagInputProps<T>, prevState: State) {
149 if (
150 this.props.onHeightChange &&
151 this.state.wrapperHeight !== prevState.wrapperHeight
152 ) {
153 this.props.onHeightChange(this.state.wrapperHeight);
154 }
155 }
156
157 measureWrapper: (event: LayoutChangeEvent) => void = event => {
158 const wrapperWidth = event.nativeEvent.layout.width;

Callers 1

tag-input.react.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected