🐛 Bug Report
On pressing escape on menu in multiple selection mode, all options get deselected and menu gets closed.
🤔 Expected Behavior
On pressing escape on menu, menu should get closed and options should not be deselected.
😯 Current Behavior
On pressing escape on menu in multiple selection mode, all options get deselected and menu gets closed.
💻 Code Sample
https://codesandbox.io/s/vibrant-cache-ddnk7o?file=/src/App.js
On pressing escape, already selected options get deselected and menu gets closed.
🌍 Your Environment
| Software |
Version(s) |
| react-spectrum |
3.23.0 |
| Browser |
Google Chrome |
| Operating System |
macOS Monterey |
🧢 Your Company/Team
Packages tab of Adobe Admin console
🐛 Bug Report
On pressing escape on menu in multiple selection mode, all options get deselected and menu gets closed.
🤔 Expected Behavior
On pressing escape on menu, menu should get closed and options should not be deselected.
😯 Current Behavior
On pressing escape on menu in multiple selection mode, all options get deselected and menu gets closed.
💻 Code Sample
https://codesandbox.io/s/vibrant-cache-ddnk7o?file=/src/App.js
On pressing escape, already selected options get deselected and menu gets closed.
🌍 Your Environment
🧢 Your Company/Team
Packages tab of Adobe Admin console