Fix scrolling for labeler profiles (#4286)

This commit is contained in:
dan 2024-05-30 15:57:45 +01:00 committed by GitHub
parent 8de028387c
commit 9d4622e713
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 5 additions and 10 deletions

View file

@ -31,7 +31,7 @@ interface AddedProps {
desktopFixedHeight?: boolean | number
}
export function CenteredView({
export const CenteredView = React.forwardRef(function CenteredView({
style,
sideBorders,
topBorder,
@ -58,7 +58,7 @@ export function CenteredView({
style = addStyle(style, pal.border)
}
return <View style={style} {...props} />
}
})
export const FlatList_INTERNAL = React.forwardRef(function FlatListImpl<ItemT>(
{