diff --git a/webapp/src/components/cardDetail.tsx b/webapp/src/components/cardDetail.tsx index 347b7c933..fc294c007 100644 --- a/webapp/src/components/cardDetail.tsx +++ b/webapp/src/components/cardDetail.tsx @@ -44,7 +44,9 @@ class CardDetail extends React.Component { } componentDidMount(): void { - this.titleRef.current?.focus() + if (!this.state.title) { + this.titleRef.current?.focus() + } } constructor(props: Props) {