Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F32181822
D8099.1765077960.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D8099.1765077960.diff
View Options
diff --git a/native/chat/message-results-screen.react.js b/native/chat/message-results-screen.react.js
--- a/native/chat/message-results-screen.react.js
+++ b/native/chat/message-results-screen.react.js
@@ -16,6 +16,7 @@
import MessageResult from './message-result.react.js';
import type { NavigationRoute } from '../navigation/route-names';
import { useSelector } from '../redux/redux-utils.js';
+import { useStyles } from '../themes/colors.js';
import type { ChatMessageItemWithHeight } from '../types/chat-types.js';
export type MessageResultsScreenParams = {
@@ -30,6 +31,7 @@
function MessageResultsScreen(props: MessageResultsScreenProps): React.Node {
const { navigation, route } = props;
const { threadInfo } = route.params;
+ const styles = useStyles(unboundStyles);
const { id: threadID } = threadInfo;
const [rawMessageResults, setRawMessageResults] = React.useState([]);
@@ -158,10 +160,20 @@
);
return (
- <View ref={scrollViewContainerRef} onLayout={onLayout}>
+ <View
+ ref={scrollViewContainerRef}
+ onLayout={onLayout}
+ style={styles.scrollViewContainer}
+ >
<ScrollView>{messageResultsToDisplay}</ScrollView>
</View>
);
}
+const unboundStyles = {
+ scrollViewContainer: {
+ flex: 1,
+ },
+};
+
export default MessageResultsScreen;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Dec 7, 3:26 AM (10 h, 8 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5842270
Default Alt Text
D8099.1765077960.diff (1 KB)
Attached To
Mode
D8099: [native] Force the tooltip to the bottom of the pinned messages screen
Attached
Detach File
Event Timeline
Log In to Comment