fix: Fixed issue where autocapitalization wouldn't work on iOS for newly created Super notes
This commit is contained in:
@@ -130,12 +130,6 @@ export const PlainEditor = forwardRef<PlainEditorInterface, Props>(
|
||||
}
|
||||
}, [])
|
||||
|
||||
useEffect(() => {
|
||||
if (controller.isTemplateNote && controller.templateNoteOptions?.autofocusBehavior === 'editor') {
|
||||
focusEditor()
|
||||
}
|
||||
}, [controller, focusEditor])
|
||||
|
||||
useEffect(() => {
|
||||
const shouldFocus = controller.isTemplateNote && controller.templateNoteOptions?.autofocusBehavior === 'editor'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user