MCPcopy Create free account
hub / github.com/apitable/apitable / triggerClick

Function triggerClick

packages/components/src/components/select/select.tsx:193–204  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

191 };
192
193 const triggerClick = () => {
194 if (disabled) {
195 return;
196 }
197 if (!visible) {
198 setTimeout(() => {
199 openSearch && inputRef.current && inputRef.current.focus();
200 }, 100);
201 }
202 toggleVisible();
203 checked2View();
204 };
205
206 return <>
207 <_GlobalStyle />

Callers

nothing calls this directly

Calls 2

checked2ViewFunction · 0.70
focusMethod · 0.65

Tested by

no test coverage detected