• auto-submit[bot]'s avatar
    Reverts "Cache `FocusNode.enclosingScope`, clean up `descendantsAreFocusable` (#144207)" (#144292) · 45050686
    auto-submit[bot] authored
    Reverts flutter/flutter#144207
    
    Initiated by: CaseyHillers
    
    Reason for reverting: b/327301206 - Breaking a customer test
    
    Original PR Author: LongCatIsLooong
    
    Reviewed By: {gspencergoog}
    
    This change reverts the following previous change:
    Original Description:
    `FocusNode.canRequestFocus` was doing a double traversal if no ancestor disallows focus. The last for loop only has to reach as far as the enclosing scope.
    
    Also this caches the `FocusNode.enclosingScope` since the getter access happens much more frequently than node reparenting.
    45050686
Name
Last commit
Last update
..
animation Loading commit data...
cupertino Loading commit data...
dart Loading commit data...
examples Loading commit data...
foundation Loading commit data...
gestures Loading commit data...
harness Loading commit data...
material Loading commit data...
painting Loading commit data...
physics Loading commit data...
rendering Loading commit data...
scheduler Loading commit data...
semantics Loading commit data...
services Loading commit data...
widgets Loading commit data...
_goldens_io.dart Loading commit data...
_goldens_web.dart Loading commit data...
analysis_options.yaml Loading commit data...
flutter_test_config.dart Loading commit data...
image_data.dart Loading commit data...
impeller_test_helpers.dart Loading commit data...