I noticed that WooCommerce adds the class sf-input-focused to the body when an input is focused, and when the class is there, the footer is set to display:none. I overrode it with display: block in my css and that stopped the footer from disappearing.