Long
Results
2
comments of
Long
This is not a scrollIntoView issue, but rather a scrollIntoView({ behavior: "smooth" }) issue. Changing "smooth" to "instant" fixes behavior. So I assume it has to do something with the...
A hack you can do is to trigger the setState and then call the scroll in a setTimeout to throw the scroll into the eventloop letting the render happen first...