mirror of
https://github.com/standardnotes/mobile.git
synced 2026-05-24 06:24:31 -04:00
Hotfix/3.6.8 (#422)
* fix: do not set state in SNTextView content change event * fix: typing quickly on search bar causes issues with input Co-authored-by: Antonella Sgarlatta <antsgar@gmail.com>
This commit is contained in:
@@ -402,7 +402,6 @@ export class Compose extends React.Component<{}, State> {
|
||||
};
|
||||
|
||||
onContentChange = (text: string) => {
|
||||
this.setState({ text });
|
||||
if (Platform.OS === 'android' && this.note?.locked) {
|
||||
this.context?.alertService?.alert(
|
||||
'This note is locked. Please unlock this note to make changes.'
|
||||
|
||||
@@ -209,7 +209,6 @@ export const NoteList = (props: Props) => {
|
||||
ref={iosSearchBarInputRef}
|
||||
keyboardAppearance={themeService?.keyboardColorForActiveTheme()}
|
||||
placeholder="Search"
|
||||
text={searchText}
|
||||
hideBackground
|
||||
/**
|
||||
* keyboardColorForActiveTheme returns the same value as apperance
|
||||
|
||||
Reference in New Issue
Block a user