Cannot select correct item when there are consecutive null items in CheckedListBox and using Space Keyboard to check/uncheck
- Dominant language
- C#
- Stars
- 4.9k
- Forks
- 1.1k
- Avg merge
- 1d 13m
- Merged PRs (30d)
- 85
Description
* .NET Core Version:
6.0.100-rc.1.21417.19
* Have you experienced this same bug with .NET Framework?:
Yes, this issue occurs from .Net Framework 3.5 to 4.8.
**More info:**
1. This issue also occurs in .Net 5.0&3.1&3.0.
2. This issue cannot occurs when are no consecutive null items.

**Problem description:**
Cannot select correct item when using Space keyboard to check/uncheck null item.

**Expected behavior:**
Correct item should be selected when using Space keyboard to check/uncheck null item.

**Minimal repro:**
1. Extract the attachment project [CheckedListBoxNullItem.zip](https://github.com/dotnet/winforms/files/7043262/CheckedListBoxNullItem.zip)
2. Build and run
3. Hit Space keyboard on null item
Contributor guide
Assessment
This issue has not been assessed yet.