Hi
Tim Law,
We have reviewed the details and code snippets you provided and would like to
inform you that the reason for the problem is that the scroll bar element is
missing in your reported scenario. As a result, when trying to get the
firstElementChild element from the scroll bar element, the reported issue
occurs on your end.
This reported issue may occur
while the cell format is being applied in the spreadsheet, particularly if any
DOM refresh actions are triggered during the process. We would also
like to inform you that during cell formatting, the updateVTrack function
is invoked. And If a DOM refresh occurs asynchronously at this time, the scroll
bar element may not be available when updateVTrack executes.
Consequently, attempting to access the firstElementChild of the
scroll bar in this scenario may result in the reported issue.
To proceed further, we kindly request you to share the following details:
- Please describe the exact
scenario when the reported issue occurred on your end.
- Share the client-side code
snippets along with the component
rendering code.
- If you have made any
customizations, please share the relevant code snippets as well.
- Please provide a video
demonstration of the issue to help us understand it better.
Kindly provide all the requested information
above. Based on these details, we will replicate and validate the reported
problem on our end and promptly provide a detailed solution.