Infinitief scrolling is only mentioned in the title. The actual legislation focuses on addictive patterns of which infinite scroll is just one. The exact formulation will of course matter a lot, but it will not simply be banning infinite scroll, as that would be trivial to circumvent.
One is arbitrarily banned by unelected bureaucrats. The other is fine.
We blame social companies for failing to raise our children the way we think they should.