diff --git a/wax-questions-service/src/MultipleDropDownService/components/DropDownComponent.js b/wax-questions-service/src/MultipleDropDownService/components/DropDownComponent.js index 56cc6b437afd9a9c008b74e7f9288e812a3bde1c..5435583a4f9f92614c284cec26f20df82ea59b0d 100644 --- a/wax-questions-service/src/MultipleDropDownService/components/DropDownComponent.js +++ b/wax-questions-service/src/MultipleDropDownService/components/DropDownComponent.js @@ -125,7 +125,7 @@ export default ({ setPosition, position }) => { }, [position.left]); useEffect(() => { - if (addOptionRef.current) addOptionRef.current.focus(); + // if (addOptionRef.current) addOptionRef.current.focus(); if (!activeView.state.selection.node) return; const { tr } = activeView.state; @@ -163,7 +163,7 @@ export default ({ setPosition, position }) => { const obj = { label: addOptionRef.current.value, value: uuidv4() }; setOptions(prevOptions => [...prevOptions, obj]); setOptionText(''); - addOptionRef.current.focus(); + // addOptionRef.current.focus(); }; const removeOption = id => {