Metamask-extension: ENS Subdomain Eager Resolve

Created on 27 May 2018  路  5Comments  路  Source: MetaMask/metamask-extension

Metamask is a little to eager in trying to resolve my ENS subdomain! It works great when I copy and paste the ens name in, but doesn't do too well when I type it!

metamaskbug

  • Expected Behavior : Resolved ENS Subdomain after I finish typing it in.
  • Actual Behavior: Eager resolve before I have finished
  • Browser Used: Chrome
  • Operating System : MacOS High Sierra 10.13.3
L03-UI L20-ENS P2-sooner T00-bug

Most helpful comment

Could you just leave it as the name? Replacing it with the address in the input field isn't ideal.

All 5 comments

I agree, we could save the validation for either:

  • on submit
  • once the string ens with a tld (should have a period between two non-zero length strings)

once the string ens with a tld (should have a period between two non-zero length strings)

We already do this. So perhaps we just need to increase the delay on the debounce.

It seems to work properly in the old UI

Could you just leave it as the name? Replacing it with the address in the input field isn't ideal.

the resolution should be verified after the user is done entering the .eth or any other TLD (since now ens supports .xyz and will soon support more)

also agree with Nick that the name should stay visible
and as I wrote here https://github.com/MetaMask/metamask-extension/issues/4616#issuecomment-422763803
.... probably ALSO display a greyed out and shorthand version of the address

Was this page helpful?
0 / 5 - 0 ratings

Related issues

johnerfx picture johnerfx  路  4Comments

glitch003 picture glitch003  路  3Comments

BMillman19 picture BMillman19  路  3Comments

DISC30 picture DISC30  路  3Comments

1blockologist picture 1blockologist  路  3Comments