Chosen Solution
Had an iPadmini in my backpack and it was damp at the bottom now when it turns on i can’t swipe to unlock and if I do manage to do that it would randomly click all the apps then restart Also when I was opening the screen (first time I’ve ever opened an iPad mini. One of the sensors at the bottom (on the left side of the home button the one not connected to the glass) ripped. It was glued to the iPad not the screen
I think that is the cable connected directly to the home button flex. You have two options when it comes to repairing or replacing that home button. You can either do micro soldering to get the home button to click. Or order a replacement home button flex ribbon cable assembly. For the water damage issue. It sounds like liquid damage under the digitizer ribbon cable plug and possibly the logic board too. I think it’s best to take it to a repair shop that does water damage repairs to avoid damaging the iPad more.