You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-08-10 22:11:50 +02:00
This commit is contained in:
@@ -136,6 +136,13 @@ const useStyles = (theme: Theme) => {
|
||||
justifyContent: 'center',
|
||||
marginLeft: 10,
|
||||
},
|
||||
panelContainer: {
|
||||
// Workaround for the editor disappearing when dismissing search on Android.
|
||||
// See https://github.com/laurent22/joplin/issues/12781
|
||||
//
|
||||
// It may be possible to remove this line after upgrading to React Native's New Architecture.
|
||||
borderColor: 'transparent',
|
||||
},
|
||||
});
|
||||
}, [theme]);
|
||||
};
|
||||
@@ -366,7 +373,9 @@ export const SearchPanel = (props: SearchPanelProps) => {
|
||||
return null;
|
||||
}
|
||||
|
||||
return showingAdvanced ? advancedLayout : simpleLayout;
|
||||
return <View style={styles.panelContainer}>
|
||||
{showingAdvanced ? advancedLayout : simpleLayout}
|
||||
</View>;
|
||||
};
|
||||
|
||||
export default SearchPanel;
|
||||
|
Reference in New Issue
Block a user