What happens/fires when you select a block in the editor?

If the block is under Disabled then your touch isn’t changing anything. Is there anything else in your code which changes any attributes? The server-side-rendering refreshes when an attribute changes.

It will be better if you can share your JS part of code.