Skip to content

Commit b412a8c

Browse files
TinyKittenclaude
andcommitted
フォーカス遅延をアニメーション時間(180ms)に合わせる
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 0879e09 commit b412a8c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/SavePresetNameModal.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,11 +110,11 @@ export const SavePresetNameModal: React.FC<Props> = ({
110110
inboundOpacity.setValue(1);
111111
outboundOpacity.setValue(1);
112112

113-
// モーダルアニメーション(180ms)とKeyboardAvoidingViewのレイアウト確定を待ってからフォーカスする
113+
// モーダルアニメーション(180ms)の完了を待ってからフォーカスする
114114
if (Platform.OS === 'ios') {
115115
const timer = setTimeout(() => {
116116
textInputRef.current?.focus();
117-
}, 300);
117+
}, 180);
118118
return () => clearTimeout(timer);
119119
}
120120
}

0 commit comments

Comments
 (0)