Mobile App - text box show text problem


In my mobile app, I have enclosed my text box in container and have applied below CSS to container.

SyntaxEditor Code Snippet

.Emailblock {
    width: 90%;    
    background: white;
    position: absolute;
    top: 30%;      
    border-radius: 5px;  
    color: red;

When I open app in mobile, I am not able to see text typed in. But when I remove the CSS, text shows.

Please advice.

Hi Suraj,

I've implemented a demo app with your use case (screen with a container and a text widget, CSS class you've written applied to the container) and the text is displayed. Can you give more info, maybe I'm missing some implementation detail?


António Pereira