Skip to content

Commit

Permalink
Fix tooltip flickering on Firefox.
Browse files Browse the repository at this point in the history
  • Loading branch information
sebadoom committed Apr 26, 2018
1 parent 9c47faf commit 6e6ffb2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/editor/secret-length-tooltip.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@ export function minSecretLengthCheck(event) {
console.log(utf8tohex(secretInput.value));

if(inputBits < algBits) {
secretInput._tippy.show();
if(!secretInput._tippy.state.visible) {
secretInput._tippy.show();
}
} else {
secretInput._tippy.hide();
}
Expand Down

0 comments on commit 6e6ffb2

Please sign in to comment.