3 ms·
On that note, the css property user-select [0] may be useful to anyone trying to implement this kind of usability. It can also be used to ensure a whole block
by Terr_ 3y ago
On that note, the css property user-select [0] may be useful to anyone trying to implement this kind of usability.
It can also be used to ensure a whole block of text is selected and copied as a unit. That is helpful for things like a an error message or an identifier like ABC-123.
[0] https://developer.mozilla.org/en-US/docs/Web/CSS/user-select https://developer.mozilla.org/en-US/docs/Web/CSS/user-select