Skip to content

Commit 6e6ffb2

Browse files
committedApr 26, 2018
Fix tooltip flickering on Firefox.
1 parent 9c47faf commit 6e6ffb2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed
 

‎src/editor/secret-length-tooltip.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,9 @@ export function minSecretLengthCheck(event) {
2323
console.log(utf8tohex(secretInput.value));
2424

2525
if(inputBits < algBits) {
26-
secretInput._tippy.show();
26+
if(!secretInput._tippy.state.visible) {
27+
secretInput._tippy.show();
28+
}
2729
} else {
2830
secretInput._tippy.hide();
2931
}

0 commit comments

Comments
 (0)
Please sign in to comment.