Previsouly when selecting item A and then removing it, it was impossible to select it again. This was caused by the internal memory of useSelect that only provides undefined selectedItem inside the onStateChange callback when the item has not changed. So by forcing it everytime to null it is now providing it everytime.
87 B
87 B
@openfun/cunningham-react
| @openfun/cunningham-react |
|---|
| patch |
fix failing selection of last removed item