SPO list jumps to top when loading new items

Copper Contributor

I am seeing an issue with an SPO list, where the page jumps back to the top when attempting to scroll down. You can see a video of what occurs here: https://www.youtube.com/watch?v=_lx30TvRfqs&feature=youtu.be (note in this video, I have only scrolled down).

 

I have replicated this issue across multiple browsers (chrome, IE and Edge) on several machines. 

 

The issue only seems to occur after the list reaches a certain length. I am using custom JSON view formatting, the code for which can be seen here. Though another user appears to have run into the same issue, and did not mention using view formatting. If I alter my formatting to be more dense (to show more items per line, thus reducing the height of the page), the issue does not occur. The issue also does not occur in folders with fewer items.

 

As you can see from the video, the problem happens as the page reaches the bottom of the currently loaded items. Hence why reducing the number of items or fitting more onto the screen prevents the issue (as all the items are loaded with the page). However this is not a solution as we require more than the ~50 items we can currently show, before the bug appears.

 

I have posted this to MS Answers, and an MS agent directed me here. He seemed to think the issue was related to my JSON code.

 
1 Reply

@ABehrens 

 

Can confirm. Happens also with the samples; https://github.com/SharePoint/sp-dev-list-formatting/issues/194

 

Doesn't happen when using tileProps, but for using the Tiles view the use has to manually switch to the Tiles. See: https://sharepoint.uservoice.com/forums/329214-sites-and-collaboration/suggestions/17365024-ability-...