charlie-yao / react-aria-widgets

Implementations of WAI-ARIA widgets and design patterns in React.
MIT License
2 stars 0 forks source link

Replace allowToggle with allowCollapseLast #155

Closed charlie-yao closed 1 year ago

charlie-yao commented 1 year ago

A minor change, but I think allowCollapseLast is ultimately a better abstraction than allowToggle. Just felt kind of weird that in the case of allowMultiple && !allowToggle, allowToggle would effectively be treated as true anyway.

Resolves #153