1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-08-10 22:11:50 +02:00

Mobile: Fixes #12783: Improve usability of inline search in notes (#12791)

This commit is contained in:
mrjo118
2025-08-01 11:39:07 +01:00
committed by GitHub
parent 86934d502e
commit c5b6f0bca1

View File

@@ -116,6 +116,7 @@ const useStyles = (theme: Theme) => {
backgroundColor: theme.backgroundColor3, backgroundColor: theme.backgroundColor3,
}, },
input: { input: {
flexBasis: 0,
flexGrow: 1, flexGrow: 1,
height: buttonSize, height: buttonSize,
backgroundColor: theme.backgroundColor4, backgroundColor: theme.backgroundColor4,
@@ -178,6 +179,7 @@ export const SearchPanel = (props: SearchPanelProps) => {
returnKeyType='search' returnKeyType='search'
blurOnSubmit={false} blurOnSubmit={false}
onSubmitEditing={control.findNext} onSubmitEditing={control.findNext}
selectTextOnFocus={true}
/> />
); );
}; };