zkparty / trusted-setup-frontend

The KZG Ceremony web browser implementation
https://ceremony.ethereum.org
229 stars 66 forks source link

Secret field initially hides input by making it invisible #119

Closed CarlBeek closed 1 year ago

CarlBeek commented 1 year ago

When entering the secret into the entropy collection page, when initially entering it, the field is blank, after a moment the password dots appear.

Screenshot 2023-01-04 at 12 35 10
CarlBeek commented 1 year ago

As discussed in #120 it is a delay caused by the downloading of the font.

I think I understand the specifics: Firefox doesn't support the text-security-disc font. But the package we are using to get around this only discovers this when the font is supposed to be rendered.

So, Firefox only makes the request when the text box is selected which on my network takes ~300ms which is just enough to be (in)visible.

CarlBeek commented 1 year ago

Closing as this seems to be an artifact of Firefox that we are just going to have to live with