Information presented here is for benefit of not only the OP, but also others that are seeking solutions to this or similar problems. While your own contribution is welcome here, to declare another reply as unhelpful when it directly relates to functionality with which a difficulty is encountered, is misplaced.
If you encounter a consistent and repeatable bug, you (and others that encounter the issue) should submit a Bug Report to Apple via its Product Feedback portal. For iPad and iPadOS:
Feedback - iPad - Apple
Every report counts - as until Apple receive a sufficient number or reports, it is perhaps unlikely that resources will be assigned to investigate and resolve the issue.
When submitting a report, ensure that you include as much detail as possible within the body of the report - including your iPad model and installed version of iPadOS; don’t rely upon the pick-list, as this rarely includes the full range of device models or most recent versions of iOS/iPadOS.