google / google/material-design-lite

.mdl-layout__drawer-button would benefit from user-select:none

Open
#4,214 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
HTML
Stars
32.2k
Forks
4.9k
PR merge metrics
No merged PRs in 30d

Description

.mdl-layout__tab-bar-button already has
user-select:none;

style set on it, but .mdl-layout__drawer-button does not, which means if you select some text, and then click on hamburger button to see the resulting menu it deselects your text, making it impossible to have actions in the drawer which operate on text selection (without manually overriding the user-select yourself).

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.