Form shortcode input field closes menu

Hey Team - I created the BeaverBuilder form display shortcode using the instructions found here;

I’m using that shortcode as a title within a link in my top menu. Unfortunately clicking in the search input field collapses the mobile menu. Any ideas why that might be happening? I note that default Bootstrap can incorporate a form into a mobile menu without this issue.