MCPcopy Create free account
hub / github.com/Lobos/react-ui / open

Function open

src/Filter.js:53–66  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

51 }
52
53 open () {
54 if (this.state.active) {
55 return;
56 }
57 this.bindClickAway();
58 let options = this.refs.options;
59 options.style.display = 'block';
60 setTimeout(() => {
61 this.setState({ active: true });
62 }, 0);
63 setTimeout(() => {
64 options.parentNode.style.overflow = 'visible';
65 }, 450);
66 }
67
68 close () {
69 let options = this.refs.options;

Callers 2

Modal.jsFile · 0.85
renderModalMethod · 0.85

Calls 1

bindClickAwayMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…