in my scrollrect have about 200 child item,when drag, i found the eventsystem.update() take about 60% ,about 6.93ms,and the scrollrect.laterupdate() take about 21.4%, aout 2.45ms. all these make the FPS drop hardly.
is there some solution,by the way, every item is a panel with a button component,and in the panel there is some pic and text.
Are all those items visible on screen at same time when scrolling? You have probably read that having items within scroll rect means all of them will be updated every frame, when scroll rect is moving. So I would suggest, assuming I understand your case, to build mechanics that allow you to reduce the amount of objects for those that are outside of screen (Dynamically populate smaller amount of objects that come to screen).
If this can not be realized, then I am a bit out of advice unfortunately.
As a test, if you remove the button does it have the same impact during a drag? I’m guessing they could be recalculating all their bounds for the enter/exit events while dragging. If that was the case, perhaps disabling those components while dragging could solve it.
all the item is controled by the vertical layout group and content size fitter, so even some item is invisible, i still can’t disable them,this will leadto item jump.