Textarea rows to display not working

Upgraded to 11.2.10 and now textareas in tables no longer allow me to auto expand by not having a number in the Rows to Display field.


Update, I found this post from another user (https://community.skuid.com/t/blank-not-accepted-in-rows-to-display) but going into the xml and removing the displayrows attribute from the field does not solve the problem for me. I recreated the problem on a brand new page without any css or jasvascript.



Hi William,

I’m able to reproduce the issue, and wanted to offer a workaround for you to try.
Adding this CSS to the affected page should get the behavior you’re looking for. Note that you’ll need to replace “TestTable” with the unique Id of the table you’re working on.

#TestTable pre {
height:fit-content;
}
#TestTable textarea {
height:100%;
}

Here’s XML for a simple page I created to investigate this, with the workaround set up. Can you let me know if this will work for you?

    
        
            
                
                
                
                
            
            
            
        
    
    
        
            
                
                    
                        
                        
                        
                        
                    
                    
                        
                        
                    
                    
                        
                        
                    
                    
                        
                    
                
            
            
                
                
                
                    
                        
                        
                    
                
            
        
    
    
        
        
        
            #TestTable pre {
    height:fit-content;
}
#TestTable textarea {
    height:100%;
}
        
        
    
    
        
    

```

Thanks Mark,

It works in Chrome but not in Firefox, any idea why that would be?
Edit: I found that fit-content isn’t compatible with firefox so I added another line for height with -moz-max-content which seems to now work in both browsers

Ah, thanks for pointing that out. It looks like fit-content isn’t supported widely yet. Try using auto as shown in this CSS instead:
#TestTable pre {
    height:auto;
}
#TestTable textarea {
    height:100%;
}