In one of my extensions, stop form spam specifically, a button is placed in along with the other buttons for delete, quote, report, etc. in viewtopic and has data-ajax set. In full browser window the button works as intended. In mobile view, or when the buttons become compressed and are displayed in a drop down, ajax fails, request->is_ajax returns false. I've been looking at it for a few hours and darned if I can wrap my head around why request->is_ajax isn't true as it is when using full window.