How to scrollTo an element according to an id using ScrollView?

后端 未结 0 353
故里飘歌
故里飘歌 2021-01-11 14:02

I want to scrollTo the top with the reference to the id initially for a given list of items, hence I write the following code -

 const vaccineRef = useRef();
         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题