Gif functionality issues

I’ve discovered two issues with the gif functionality in Discourse.

The first, as discussed in the Discourse Gifs thread, involves the gif modal failing to display when in the mobile breakpoint. It happens across all browsers and device types including when a desktop browser is in mobile simulator mode. There are no errors in the console, the gif search model simply doesn’t display. All other breakpoints function normally.

The second issue is that the gif search modal no longer places focus on the search input element requiring an extra click to initiate typing the search term.

Happy to provide other details as needed.