aeternity / aepp-components

deprecated: aepp-components to be used in all aepps.
ISC License
41 stars 14 forks source link

improving address chunking, and copy-to-clipboard style for visibility #205

Closed sadiqevani closed 5 years ago

sadiqevani commented 5 years ago
davidyuk commented 5 years ago

Should we implement the same chunking in address input component?

sadiqevani commented 5 years ago

@davidyuk

Should we implement the same chunking in address input component?

I think the address chunking in input component will have a different mechanism, since in the input we also have to deal with styling of the address and also whitespaces.

But when I'll work on that input, we maybe can abstract that regex functionality so it works on both?

davidyuk commented 5 years ago

In general address formatting is implemented in AeAddressInput component, I don't think that it is reasonable to re-implement it using regexps.

This kind of chunking can make annoying flickers while the user types an address.