Commit 7fd63452 authored by fukino's avatar fukino Committed by Commit bot

Files app: Ignores pointer events on buttons on dialog footer.

We should ignore pointer events on disabled buttons.
It prevents unexpected command dispatches, and it is consistent with paper-button.

BUG=632270
TEST=manually

Review-Url: https://codereview.chromium.org/2256143002
Cr-Commit-Position: refs/heads/master@{#412812}
parent 29445c16
......@@ -938,6 +938,11 @@ html[dir='rtl'] #search-box .clear {
z-index: 0;
}
.dialog-footer button[disabled] {
cursor: auto;
pointer-events: none;
}
.dialog-footer button {
font-weight: 500;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment