Skip to content
This repository has been archived by the owner on Mar 4, 2020. It is now read-only.

chore(List): use FocusZone in selectable list #1757

Merged
merged 3 commits into from
Aug 5, 2019

Conversation

jurokapsiar
Copy link
Contributor

Use FocusZone for selectable list instead of the FocusHandler. This will allow us to use focus restoration on item removed once the appropriate change from fabric gets merged. It is also much more performant as the List does not have to update state on each keypress.

@jurokapsiar
Copy link
Contributor Author

TODO: changelog

@codecov
Copy link

codecov bot commented Aug 5, 2019

Codecov Report

Merging #1757 into master will decrease coverage by <.01%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1757      +/-   ##
==========================================
- Coverage      70%   69.99%   -0.01%     
==========================================
  Files         868      868              
  Lines        7351     7323      -28     
  Branches     2144     2140       -4     
==========================================
- Hits         5146     5126      -20     
+ Misses       2199     2191       -8     
  Partials        6        6
Impacted Files Coverage Δ
...ssibility/Behaviors/List/selectableListBehavior.ts 100% <ø> (ø) ⬆️
packages/react/src/components/List/List.tsx 85.71% <ø> (+26.45%) ⬆️
...ility/Behaviors/List/selectableListItemBehavior.ts 100% <ø> (ø) ⬆️
...ages/react/test/specs/behaviors/testDefinitions.ts 89.53% <0%> (-3.88%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a5140f6...0f29e0e. Read the comment docs.

@jurokapsiar jurokapsiar merged commit 0b82746 into master Aug 5, 2019
@delete-merged-branch delete-merged-branch bot deleted the jukapsia/list-focus-zone branch August 5, 2019 14:25
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants