Following are the steps to reproduce the bug:
1 - Add an input control block to a panel
2 - Add a button trigger control
3 - Edit the payload
4 - After closing the curly brackets, when editing the payload content, the cursor goes to the end, at each digit.