Focus on ReadOnly Text Input

I have noticed that when you click Text Input in ReadOnly mode it is getting focused state. Is it designed behavior or is it a bug? Is there a possibility to change this in a way that clicking on read only Text Input does not change the state?