instead of {...(Platform.OS === "ios" ? { behavior: "padding" } : {})}
I recommend behavior={Platform.select({ ios: 'padding' })}
this will also evaluate to undefined on Android.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
instead of
{...(Platform.OS === "ios" ? { behavior: "padding" } : {})}
I recommend
behavior={Platform.select({ ios: 'padding' })}
this will also evaluate to
undefined
on Android.