Apps: Unable to copy disabled fields on FF

Created on 17 Jan 2020  路  7Comments  路  Source: polkadot-js/apps

image

-size-xs @react-params [bug]

All 7 comments

After doing some research I've found out that there is a 16 years old discussion regarding this behaviour: https://bugzilla.mozilla.org/show_bug.cgi?id=253870

It looks like they are making disabled inputs selectable for the next Firefox version.

We might want to swap disabled input to readonly if you dont mind the text cursor showing off @jacogr

Welcome back! :)

Yes, there are 2 options -

  • readonly (which works, we may adjust the cursor, will need to see what it looks like)
  • swapping to a styled div

The first is the better approach, imho.

... 3rd option, just wait it out... :)

So would just wait for the next release, browsers auto-update anyway. So would just forgo doing anything at all.

Still an issue on 75.0 (for me). Will re-test when the next one rolls around.

Still an issue on 77. I'd actually love to address this one, it's been bothering me for so long :D !
Alternatively, I'd even propose to add a little "copy to clipboard" button on the right of the field. To do this well I guess it would mean creating a new "CopiableField" react-component and use it for the image hash.

lmk what you think @jacogr

Just turn it into a static field with the correct styling. Don't want to wait another 16 years. Te copy-buttons is a slippery slope, where to add, where not to add, so not something that we really want to do.

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue if you think you have a related problem or query.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jacogr picture jacogr  路  3Comments

illlefr4u picture illlefr4u  路  4Comments

illlefr4u picture illlefr4u  路  5Comments

illlefr4u picture illlefr4u  路  6Comments

laurogripa picture laurogripa  路  6Comments