RadzenSidebar always expands even when Epanded = false. #740

Closed
opened 2026-01-29 17:42:34 +00:00 by claunia · 2 comments
Owner

Originally created by @PaulSinnema on GitHub (Feb 17, 2023).

Describe the bug
The new RadzenSidebar component keeps expanding even when I set the 'SidebarExpanded' to false. Some anonymouse method is called and sets the 'SidebarExpanded' to true resulting the Sidebar to expand.

To Reproduce
Steps to reproduce the behavior:

  1. Take the code from the example of the 'Right sidebar'
  2. Change the code 'bool sidebar4Expanded = false;'
  3. Run the page

If I set a breakpoint on the setter of the boolean I can see it is called from an anonymous function which sets it to 'true'.

Expected behavior
If the boolean is 'false' on startup the sidebar should not show as expanded.

Desktop (please complete the following information):

  • OS: Windows 11
  • Browser FireFox
  • Version v4.7.1
Originally created by @PaulSinnema on GitHub (Feb 17, 2023). **Describe the bug** The new RadzenSidebar component keeps expanding even when I set the 'SidebarExpanded' to false. Some anonymouse method is called and sets the 'SidebarExpanded' to true resulting the Sidebar to expand. **To Reproduce** Steps to reproduce the behavior: 1. Take the code from the example of the 'Right sidebar' 2. Change the code 'bool sidebar4Expanded = false;' 3. Run the page If I set a breakpoint on the setter of the boolean I can see it is called from an anonymous function which sets it to 'true'. **Expected behavior** If the boolean is 'false' on startup the sidebar should not show as expanded. **Desktop (please complete the following information):** - OS: Windows 11 - Browser FireFox - Version v4.7.1
Author
Owner

@akorchev commented on GitHub (Feb 17, 2023):

Sounds duplicate to https://github.com/radzenhq/radzen-blazor/issues/716.

@akorchev commented on GitHub (Feb 17, 2023): Sounds duplicate to https://github.com/radzenhq/radzen-blazor/issues/716.
Author
Owner

@PaulSinnema commented on GitHub (Feb 17, 2023):

Yup, is the same.

@PaulSinnema commented on GitHub (Feb 17, 2023): Yup, is the same.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/radzen-blazor#740