Page MenuHomePhabricator

[Cashtab] Disable cash address highlighting and copying

Authored by emack on Wed, Oct 13, 08:22.



Addressing T1816:

  • Updated QRCode.js with cross browser disabling of user selection/copying of the cash address text across CustomInput, PrefixLabel and AddressHighlightTrim styles.
  • UI snapshots updated for Wallet.test.js
Test Plan
  • npm start
  • navigate to Wallet and ensure you are unable to select/highlight the cashaddress text
  • check the onclick function still returns the correct cash address
  • check other unrelated text on the screen can be selected and highlighted
  • npm run extension
  • ensure the disabled select/highlight function is consistent in browser extension mode
  • test the above steps across both Chrome and Firefox browsers

Diff Detail

rABC Bitcoin ABC
Lint Not Applicable
Tests Not Applicable