Button getting unpressed

When pressing a button, unless you move your cursor, it getting unpressed after a second a so. I tested it in a blank project and the reason seems to be the target hardware. It’s only an issue on mobile/tablet target hardware. Is it a bug, or is it working as intended? If it’s not a bug then how do I make button stay pressed?

I’ve just come across this problem. Anyone have a solution? After holding a button for a second the button becomes unpressed. Target hardware is mobile.

If you move your cursor/finger after the press it stays depressed even if you stop moving. But if you press and keep your cursor/finger in the same position it depresses and reads as unpressed.