That is a social media problem not infinite scrolling problem.
https://www.psychologytoday.com/us/blog/automatic-you/201208...
https://www.psychologytoday.com/us/blog/automatic-you/201208...
But while it's true that interacting with social media can give your brain a dopamine shot, that does not mean you're getting high. Your brain releases dopamine on an everyday basis.
"Dopamine research itself shows that things like video games and technologies, they're in the same realm as food and sex and learning and all of these everyday behaviours."
This was a year ago - Neither Professor Przybylski nor Amy Orben rule out the possibility that social media can negatively affect human behaviour, but both emphasise the need for further research.