Now that I see what you did, I remember seeing a setting like that in RankMath. I changed the setting in RankMath that you see screenshot at the link below. Changing the setting appears to work, this filter snippet does NOT seem to work for android. I have the live site working with this setting change.
You can see for yourself on the dev site, I added the filter (to a snippet using Code Snippets) and the buttons do not work on Android unless I turn that setting off. Is the filter intended to have the same effect as changing that setting?
https://www.awesomescreenshot.com/image/3857756/bba76806b0247d68f8b817ae4d20b163
Thank you!