Pattern not recognized in recovery mode via OnePlus 7

  1. nen3i
    Honeycomb Nov 27, 2020

    nen3i , via OnePlus 7 , Nov 27, 2020 :
    When I boot my phone into recovery mode, my pattern isn't recognized and I am left with only two options.
    1 to erase all data from phone
    2 leave it like that until the battery drains out.

    I cannot shut down my phone after that. But when I let the battery dry out and then start the phone normally, my pattern is recognized and I can use the phone normally.

    What is the solution for this?