Closed Powerplex closed 1 month ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 97.63%. Comparing base (
917e9ce
) to head (30d9012
). Report is 8 commits behind head on main.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Description, Motivation and Context
In the
singleSelectionReducer
, when blur event is triggered or disclosureButton is clicked, it callssetSelectedItem
to reset it, which in return triggersonValueChange
prop (callback).I added an optimization to check that the selected item (or none item selected) has changed before triggering the callback, which was called too many times.
Types of changes