The Shake to Undo allows you to undo or redo an action, especially typing, by shaking your device. Mistakes are inevitable typing on your iPhone”s small screen. You get the annoying Undo Typing pop-up dialog message. This Shake to Undo feature is on by default. If you find this is being triggered unintentionally, you can disable this feature. Let’s explore how to disable.
This is for the iPhone and iPad

Check out TechSavvy.Life for their blog posts on smartphone apps, PCs. and Macs!
Tweet
First, launch the Settings app by tapping on the Gear icon, usually found on the first page of your Home screen. Refer to below image:

Next, tap on Accessibility. See below image;

Now, tap Touch. See following image:

Next, scroll down until you see a toggle labeled Shake to Undo. Tap the toggle to turn it off. Refer to below image:

Alternative Methods
Tap to Undo: Double-tap three fingers on the screen to undo typing. In some apps, the text you’ve just typed disappears. In others, you might see an Undo button pop-up that you need to tap.
Swipe to Undo: Swipe left with three fingers on the screen to undo typing. Just like above, some apps will immediately erase what you last typed, and others will present an Undo button pop-up. If so, just tap it.
That’s it. This should make your typing less intrusive by eliminating the pop-up message on your iPhone or iPad.
I have found TechSavvy.Life blog posts extremely helpful. Check them out for posts on smart phone apps, Macs and PCs!
Tweet
I Would Like to Hear From You
Please feel free to leave a comment. I would love hearing from you. Do you have a computer or smart device tech question? I will do my best to answer your inquiry. Please mention the device, app and version that you are using. To help us out, you can send screenshots of your data related to your question.