• 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
..
fix_data Loading commit data...
src Loading commit data...
analysis_options.yaml Loading commit data...
animation.dart Loading commit data...
cupertino.dart Loading commit data...
foundation.dart Loading commit data...
gestures.dart Loading commit data...
material.dart Loading commit data...
painting.dart Loading commit data...
physics.dart Loading commit data...
rendering.dart Loading commit data...
scheduler.dart Loading commit data...
semantics.dart Loading commit data...
services.dart Loading commit data...
widgets.dart Loading commit data...