You need to sign in to do that
Don't have an account?
RamaSubbaReddy
Uncaught Error in $A.getCallback() [Cannot read property 'style' of null] after upgrading to spring 21
i am facing $A.getCallback() [Cannot read property 'style' of null] Error after upgrading my sandbox to spring 21.
Code block:
Code block:
//To set the horizontal scroll bar at bottom if(totalrec.length < 15){ document.getElementById("Table").style.height = totalrec.length+5; } else { document.getElementById("Table").style.height = "auto"; }Above code block is working fine till winter 21 upgrade. Please suggest solution for this.
I have checked if there is any known issue for this in https://trailblazer.salesforce.com/issues_releases_view?release=230000000 but do not see any.
Can you share the complete reproducible code snippet that can be used to replicate this behavior?
Similar posts: https://developer.salesforce.com/forums?id=906F0000000kJQAIA2
Thanks