[PR #2054] [CLOSED] #2011 Fix: Allow Space for Selection in DropDown #3054

Open
opened 2026-01-29 18:21:42 +00:00 by claunia · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/radzenhq/radzen-blazor/pull/2054
Author: @srielango
Created: 3/25/2025
Status: Closed

Base: masterHead: 2011-SpaceBarSelectionInDropDown


📝 Commits (4)

  • 11c4f35 #2011 Fix: Allow Space for Selection in DropDown
  • b4f1bb1 Fixed runtime error
  • ef78027 Fixed space in the dropdown issue
  • 5940a83 Fix: Prevent DropDown popup from closing on Space key press

📊 Changes

4 files changed (+41 additions, -3 deletions)

View changed files

📝 Radzen.Blazor/DropDownBase.cs (+18 -2)
📝 Radzen.Blazor/RadzenDropDown.razor.cs (+11 -0)
📝 Radzen.Blazor/wwwroot/Radzen.Blazor.js (+11 -0)
📝 RadzenBlazorDemos/Pages/DropDownPage.razor (+1 -1)

📄 Description

This PR allows using the Spacebar to select items in multi-select RadzenDropDown. It also prevents page scrolling when pressing Space.

Backwards-compatible – falls back if Radzen.Blazor.js isn’t updated due to web browser caching.
Enter key behavior remains unchanged for form submissions.

Closes #2011.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/radzenhq/radzen-blazor/pull/2054 **Author:** [@srielango](https://github.com/srielango) **Created:** 3/25/2025 **Status:** ❌ Closed **Base:** `master` ← **Head:** `2011-SpaceBarSelectionInDropDown` --- ### 📝 Commits (4) - [`11c4f35`](https://github.com/radzenhq/radzen-blazor/commit/11c4f351f90d0372b2acf89911a043ddfe58f946) #2011 Fix: Allow Space for Selection in DropDown - [`b4f1bb1`](https://github.com/radzenhq/radzen-blazor/commit/b4f1bb1af55b2bee6f6969d7dd1576662f7ee22c) Fixed runtime error - [`ef78027`](https://github.com/radzenhq/radzen-blazor/commit/ef78027538890d6470a487912da90fad85b5fdb1) Fixed space in the dropdown issue - [`5940a83`](https://github.com/radzenhq/radzen-blazor/commit/5940a83e6f89cfd9f70bb6307edb5a72d36a38af) Fix: Prevent DropDown popup from closing on Space key press ### 📊 Changes **4 files changed** (+41 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `Radzen.Blazor/DropDownBase.cs` (+18 -2) 📝 `Radzen.Blazor/RadzenDropDown.razor.cs` (+11 -0) 📝 `Radzen.Blazor/wwwroot/Radzen.Blazor.js` (+11 -0) 📝 `RadzenBlazorDemos/Pages/DropDownPage.razor` (+1 -1) </details> ### 📄 Description This PR allows using the Spacebar to select items in multi-select RadzenDropDown. It also prevents page scrolling when pressing Space. Backwards-compatible – falls back if Radzen.Blazor.js isn’t updated due to web browser caching. Enter key behavior remains unchanged for form submissions. Closes #2011. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-29 18:21:42 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/radzen-blazor#3054