diff --git a/packages/desktop-client/src/components/budget/MobileBudgetTable.js b/packages/desktop-client/src/components/budget/MobileBudgetTable.js index 220a10233c1..a482797fd8e 100644 --- a/packages/desktop-client/src/components/budget/MobileBudgetTable.js +++ b/packages/desktop-client/src/components/budget/MobileBudgetTable.js @@ -1,4 +1,4 @@ -import React, { Component, PureComponent, useState } from 'react'; +import React, { Component, PureComponent, useRef, useState } from 'react'; // import { // RectButton, // PanGestureHandler, @@ -120,15 +120,10 @@ function BudgetCell(props) { onEdit?.(categoryId); } - function inputRef(inputRef) { - inputRef?.select(); - } - return ( {editing ? ( } value={value} + focused={focused} style={{ flex: 1, alignItems: 'stretch', ...style }} inputStyle={{ paddingLeft: 0, ...textStyle }} onKeyUp={e => {