feat: add option to disable focus to input box after answering (#317)

This commit is contained in:
josc146
2023-05-13 16:37:30 +08:00
parent 43256edb13
commit 9b2c8d3d33
6 changed files with 25 additions and 4 deletions
+11
View File
@@ -360,6 +360,17 @@ export function GeneralPart({ config, updateConfig }) {
/>
{t('Always pin the floating window')}
</label>
<label>
<input
type="checkbox"
checked={config.focusAfterAnswer}
onChange={(e) => {
const checked = e.target.checked
updateConfig({ focusAfterAnswer: checked })
}}
/>
{t('Focus to input box after answering')}
</label>
<br />
</>
)