Skip to content
This repository was archived by the owner on Mar 13, 2018. It is now read-only.

disable text selection while dragging drawer on desktop - #29

Open
semateos wants to merge 2 commits into
googlearchive:masterfrom
semateos:master
Open

disable text selection while dragging drawer on desktop#29
semateos wants to merge 2 commits into
googlearchive:masterfrom
semateos:master

Conversation

@semateos

@semateos semateos commented Nov 3, 2014

Copy link
Copy Markdown

While generally not an issue because few people would attempt to drag the drawer on desktop, it is nice for quick testing. Also, there are some potential use cases where folks might take advantage of the drawer dragging feature in a desktop ui. Let me know if the add/remove class is not the best way to handle stuff like this.

@ebidel

ebidel commented Nov 4, 2014

Copy link
Copy Markdown

Before this PR can be merged, please sign the CLA. See the CONTRIBUTING guide.

@ebidel ebidel added cla: no and removed cla: yes labels Nov 4, 2014
@semateos

semateos commented Nov 6, 2014

Copy link
Copy Markdown
Author

Ok, thanks! I just signed the CLA.

Comment thread core-drawer-panel.html

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Prefer declarative bindings rather than reaching into the DOM:

<div id="main" class="{{ {noselect: dragging} | tokenList }}" ...>
<div id="drawer" class="{{ {noselect: dragging} | tokenList }}" ...>

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants