"@react-navigation/drawer": "^6.7.2", "@react-navigation/material-top-tabs": "^6.6.14", "@react-navigation/native": "^6.1.18", "@react-navigation/native-stack": "^6.11.0",
Have you tried updating these?