Skip to content

disableClose in sidenav needs improvement #6427

@naveedahmed1

Description

@naveedahmed1

Bug, feature request, or proposal:

Docs gives the below details about disableClose option in sidenav:

"Whether the sidenav can be closed with the escape key or not."

Usually clicking backdrop closes the sidenav, but when this option (disableClose) is set to true, it also disables the closing of SideNav using backdrop.

There could be cases where we would like to disable closing of Sidenav using Esc key but would like it to be closed when user clicks backdrop. Therefore, we should have two separate options disableCloseEsc and disableCloseBackdrop.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions