Function
componentDidUpdate
(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; |
Tested by
no test coverage detected