That stops content from disappearing but shows it at the top and makes the screen scrollable.
I found a workaround by removing the keyboard accessory bar and making the form height smaller so it doesn't overlap the button. Now the issue I seem to have is clicking the disabled button makes the keyboard reappear instead of close fully.