I am not sure what you mean by "stops working" but if you mean that the text does not appear then it could be that the text box is not big enough for the size you are setting it to. So, try making the text box bigger.
I know when I test on my iPhone, text boxes don't display properly if I am zoomed in too far, so that could be a problem too.
I only use text for debugging - using sprite font is a better way to make sure text looks the same regardless of browser or platform used.