Skip to content
Snippets Groups Projects

Track changes

Merged Christos requested to merge track-changes into master
4 files
+ 46
45
Compare changes
  • Side-by-side
  • Inline
Files
4
@@ -26,7 +26,8 @@ export default ({ comment, activeView, user, active }) => {
@@ -26,7 +26,8 @@ export default ({ comment, activeView, user, active }) => {
useEffect(() => {
useEffect(() => {
setTimeout(() => {
setTimeout(() => {
if (commentInput.current !== null) commentInput.current.focus();
if (commentInput.current !== null && conversation.length === 0)
 
commentInput.current.focus();
}, 500);
}, 500);
}, [active]);
}, [active]);