Skip to content

mwc-drawer only supports left-side drawers #477

@isochronous

Description

@isochronous

I'm submitting a:

  • bug report
  • feature request

What OS are you using?

Windows 10 Pro, build 17134

What browser(s) is this bug affecting:

All of them

Current behavior:

The material design guidelines clearly state that drawers can be placed on both the left AND RIGHT side of the screen depending on the situation. However, it appears that the mwc-drawer component (which seems to be just a generalized drawer control, not only a nav drawer) only supports left-side placement. Issue #1324 for the MDC components indicated that this use case would be designed for in a future control: "there are plans for more flexible components to accomplish this in the future." This seems like the correct time and place for that feature's addition.

Expected behavior:
There should be a property, attribute, or other mechanism by which the drawer can be configured for right-side placement.

Steps to reproduce:

Look at your own drawer demos.

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