()
| 51 | } |
| 52 | |
| 53 | showOptions () { |
| 54 | if (this.state.active || this.props.readOnly) { |
| 55 | return; |
| 56 | } |
| 57 | |
| 58 | let options = this.refs.options; |
| 59 | options.style.display = 'block'; |
| 60 | let offset = getOuterHeight(options) + 5; |
| 61 | |
| 62 | let el = this.refs.container; |
| 63 | let dropup = overView(el, offset); |
| 64 | |
| 65 | withoutTransition(el, () => { |
| 66 | this.setState({ dropup }); |
| 67 | }); |
| 68 | |
| 69 | this.bindClickAway(); |
| 70 | |
| 71 | setTimeout(() => { |
| 72 | this.setState({ filter: '', active: true }); |
| 73 | }, 0); |
| 74 | } |
| 75 | |
| 76 | hideOptions () { |
| 77 | this.setState({ active: false }); |
nothing calls this directly
no test coverage detected
searching dependent graphs…