Skip to content
This repository was archived by the owner on Apr 25, 2020. It is now read-only.

Commit 0afedba

Browse files
committed
Disable pointer-events for inactive labels
1 parent 15eede5 commit 0afedba

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

components/FloatLabel.vue

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,12 +66,14 @@ export default {
6666
color: #aaa;
6767
text-overflow: ellipsis;
6868
white-space: nowrap;
69+
pointer-events: none;
6970
opacity: 0;
7071
transition: all 0.2s ease-out;
7172
}
7273
7374
.vfl-label-on-input {
7475
top: -1.3em;
76+
pointer-events: all;
7577
opacity: 1;
7678
}
7779

0 commit comments

Comments
 (0)