diff --git a/apps/OpenSign/src/components/opensigndrive/DriveBody.js b/apps/OpenSign/src/components/opensigndrive/DriveBody.js
index b0df1a745..1b4e69a2e 100644
--- a/apps/OpenSign/src/components/opensigndrive/DriveBody.js
+++ b/apps/OpenSign/src/components/opensigndrive/DriveBody.js
@@ -386,7 +386,12 @@ function DriveBody(props) {
{rename === data.objectId ? (
inputRef.current.select()}
+ onFocus={() => {
+ const input = inputRef.current;
+ if (input) {
+ input.select();
+ }
+ }}
autoFocus={true}
type="text"
onBlur={() => handledRenameDoc(data)}
@@ -451,7 +456,12 @@ function DriveBody(props) {
inputRef.current.select()}
+ onFocus={() => {
+ const input = inputRef.current;
+ if (input) {
+ input.select();
+ }
+ }}
onBlur={() => handledRenameDoc(data)}
onKeyDown={(e) => handleEnterPress(e, data)}
ref={inputRef}