Preserve scroll position when restoring focus (#8401)
Preserve scroll position when restoring focus (#8401)

This misbehavior is particularly egregious because of our current strategy for updating a container in Fiber, but regardless -- if we restore focus to an offscreen node (ex: because it was reordered among its siblings) then we should not scroll the page to reveal it.

We could check the `overflow` computed style values before saving the scroll positions but that's unlikely to be any faster.
VioletLife/react,jameszhan/react,maxschmeling/react,chenglou/react,syranide/react,cpojer/react,pyitphyoaung/react,glenjamin/react,trueadm/react,chenglou/react,aickin/react,TheBlasfem/react,jordanpapaleo/react,chicoxyzzy/react,facebook/react,roth1002/react,edvinerikson/react,anushreesubramani/react,STRML/react,jquense/react,VioletLife/react,AlmeroSteyn/react,empyrical/react,rickbeerendonk/react,facebook/react,krasimir/react,joecritch/react,yungsters/react,quip/react,jzmq/react,silvestrijonathan/react,STRML/react,chippieTV/react,Simek/react,jdlehman/react,STRML/react,syranide/react,mhhegazy/react,aickin/react,yangshun/react,quip/react,camsong/react,pyitphyoaung/react,tomocchino/react,empyrical/react,aaron-goshine/react,glenjamin/react,jdlehman/react,jzmq/react,brigand/react,bspaulding/react,brigand/react,trueadm/react,sekiyaeiji/react,acdlite/react,dilidili/react,mjackson/react,terminatorheart/react,apaatsio/react,anushreesubramani/react,chippieTV/react,quip/react,camsong/react,jordanpapaleo/react,jzmq/react,andrerpena/react,mhhegazy/react,rickbeerendonk/react,mosoft521/react,jzmq/react,quip/react,chenglou/react,ArunTesco/react,edvinerikson/react,silvestrijonathan/react,yungsters/react,dilidili/react,maxschmeling/react,mjackson/react,anushreesubramani/react,richiethomas/react,yiminghe/react,cpojer/react,jordanpapaleo/react,andrerpena/react,joecritch/react,VioletLife/react,aaron-goshine/react,flipactual/react,maxschmeling/react,quip/react,acdlite/react,mosoft521/react,apaatsio/react,prometheansacrifice/react,cpojer/react,niubaba63/react,flarnie/react,wmydz1/react,ericyang321/react,jordanpapaleo/react,TheBlasfem/react,rohannair/react,VioletLife/react,prometheansacrifice/react,shergin/react,rricard/react,shergin/react,mjackson/react,brigand/react,wmydz1/react,rickbeerendonk/react,terminatorheart/react,yiminghe/react,glenjamin/react,ericyang321/react,jameszhan/react,shergin/react,silvestrijonathan/react,chenglou/react,camsong/react,mjackson/react,acdlite/react,chicoxyzzy/react,silvestrijonathan/react,rlugojr/react,facebook/react,mhhegazy/react,joecritch/react,claudiopro/react,acdlite/react,roth1002/react,yungsters/react,jordanpapaleo/react,cpojer/react,billfeller/react,kaushik94/react,kaushik94/react,dilidili/react,rricard/react,rlugojr/react,edvinerikson/react,jdlehman/react,shergin/react,jorrit/react,flarnie/react,jordanpapaleo/react,apaatsio/react,richiethomas/react,Simek/react,yangshun/react,chicoxyzzy/react,glenjamin/react,AlmeroSteyn/react,pyitphyoaung/react,yungsters/react,edvinerikson/react,jquense/react,andrerpena/react,bspaulding/react,edvinerikson/react,pyitphyoaung/react,yiminghe/react,bspaulding/react,STRML/react,STRML/react,quip/react,jordanpapaleo/react,apaatsio/react,richiethomas/react,yungsters/react,ArunTesco/react,glenjamin/react,AlmeroSteyn/react,cpojer/react,roth1002/react,kaushik94/react,jorrit/react,silvestrijonathan/react,maxschmeling/react,billfeller/react,glenjamin/react,chicoxyzzy/react,empyrical/react,andrerpena/react,nhunzaker/react,aickin/react,ericyang321/react,roth1002/react,shergin/react,jorrit/react,Simek/react,aickin/react,ArunTesco/react,chicoxyzzy/react,rohannair/react,jquense/react,billfeller/react,acdlite/react,facebook/react,billfeller/react,dilidili/react,niubaba63/react,nhunzaker/react,facebook/react,billfeller/react,facebook/react,brigand/react,tomocchino/react,anushreesubramani/react,apaatsio/react,bspaulding/react,chenglou/react,joecritch/react,trueadm/react,chippieTV/react,trueadm/react,billfeller/react,chicoxyzzy/react,jquense/react,aickin/react,jorrit/react,yangshun/react,claudiopro/react,jdlehman/react,joecritch/react,rohannair/react,bspaulding/react,maxschmeling/react,TheBlasfem/react,flarnie/react,nhunzaker/react,rickbeerendonk/react,Simek/react,tomocchino/react,flarnie/react,ericyang321/react,richiethomas/react,chicoxyzzy/react,prometheansacrifice/react,rlugojr/react,TheBlasfem/react,yiminghe/react,rohannair/react,trueadm/react,mhhegazy/react,ericyang321/react,Simek/react,anushreesubramani/react,wmydz1/react,jzmq/react,dilidili/react,sekiyaeiji/react,brigand/react,flarnie/react,niubaba63/react,rickbeerendonk/react,aaron-goshine/react,camsong/react,kaushik94/react,flarnie/react,AlmeroSteyn/react,chippieTV/react,aickin/react,flarnie/react,jorrit/react,edvinerikson/react,rickbeerendonk/react,roth1002/react,krasimir/react,shergin/react,aaron-goshine/react,yangshun/react,yiminghe/react,rohannair/react,nhunzaker/react,terminatorheart/react,dilidili/react,chenglou/react,niubaba63/react,terminatorheart/react,prometheansacrifice/react,Simek/react,jdlehman/react,cpojer/react,mosoft521/react,pyitphyoaung/react,kaushik94/react,joecritch/react,mjackson/react,rlugojr/react,andrerpena/react,cpojer/react,krasimir/react,ericyang321/react,terminatorheart/react,krasimir/react,prometheansacrifice/react,niubaba63/react,VioletLife/react,sekiyaeiji/react,edvinerikson/react,shergin/react,jquense/react,andrerpena/react,mosoft521/react,rricard/react,yiminghe/react,prometheansacrifice/react,mjackson/react,aaron-goshine/react,joecritch/react,AlmeroSteyn/react,VioletLife/react,jorrit/react,niubaba63/react,Simek/react,niubaba63/react,bspaulding/react,facebook/react,aickin/react,mosoft521/react,jameszhan/react,brigand/react,krasimir/react,quip/react,mosoft521/react,maxschmeling/react,tomocchino/react,jzmq/react,STRML/react,rlugojr/react,anushreesubramani/react,AlmeroSteyn/react,kaushik94/react,chenglou/react,leexiaosi/react,jameszhan/react,krasimir/react,rohannair/react,rlugojr/react,yungsters/react,rlugojr/react,pyitphyoaung/react,trueadm/react,wmydz1/react,flipactual/react,tomocchino/react,syranide/react,TheBlasfem/react,jdlehman/react,wmydz1/react,trueadm/react,jameszhan/react,chippieTV/react,yangshun/react,camsong/react,STRML/react,silvestrijonathan/react,jzmq/react,pyitphyoaung/react,mosoft521/react,yangshun/react,yangshun/react,apaatsio/react,jquense/react,glenjamin/react,nhunzaker/react,leexiaosi/react,empyrical/react,tomocchino/react,chippieTV/react,empyrical/react,richiethomas/react,krasimir/react,mhhegazy/react,flipactual/react,richiethomas/react,empyrical/react,jameszhan/react,yiminghe/react,mhhegazy/react,camsong/react,wmydz1/react,bspaulding/react,jameszhan/react,tomocchino/react,claudiopro/react,dilidili/react,acdlite/react,mjackson/react,prometheansacrifice/react,rricard/react,rricard/react,wmydz1/react,anushreesubramani/react,syranide/react,rricard/react,rickbeerendonk/react,silvestrijonathan/react,ericyang321/react,acdlite/react,maxschmeling/react,kaushik94/react,yungsters/react,terminatorheart/react,empyrical/react,claudiopro/react,claudiopro/react,VioletLife/react,aaron-goshine/react,brigand/react,jquense/react,leexiaosi/react,nhunzaker/react,apaatsio/react,roth1002/react,camsong/react,mhhegazy/react,billfeller/react,roth1002/react,rohannair/react,claudiopro/react,jorrit/react,claudiopro/react,AlmeroSteyn/react,TheBlasfem/react,nhunzaker/react,jdlehman/react,richiethomas/react