This behaviour has been seen and remains unresolved in these posts
kebab OnePlus 8T Touchscreen Doesn't Work After Install
hotdogb OnePlus 7T 'No Touch Display' after install
hotdog Feedback for v1.9 - #17 by Gianna
And there is this open issue on Gitlab