code_field icon indicating copy to clipboard operation
code_field copied to clipboard

Press the enter key lose focus on web (GitHub version)

Open P-B1101 opened this issue 2 years ago • 5 comments

In the GitHub version of this package (readOnly added) focus will lost when press the Enter key. Tested on web.

P-B1101 avatar May 25 '22 11:05 P-B1101

Do you need to focus in readonly mode?

BertrandBev avatar May 31 '22 09:05 BertrandBev

not in read-only mode. in edit mode. I had to download code (pub.dev version) and add read-only myself.

P-B1101 avatar Jun 01 '22 20:06 P-B1101

@BertrandBev Also experiencing this problem on Master building the example app on macos desktop. Not entirely sure what might have changed.

mack-at-pieces avatar Jun 22 '22 19:06 mack-at-pieces

Can confirm it is related to this merge (#36) at this line: https://github.com/BertrandBev/code_field/blob/befb10f12db622400c86ca388edc67c91b550774/lib/src/code_field.dart#L278

mack-at-pieces avatar Jun 22 '22 20:06 mack-at-pieces

@P-B1101 This should be resolved with #48 once merged in. Feel free to cherry-pick the commit with this ref number: 86182ef1b1dacddb8b9dbda0af0c03a10e12e29b

mack-at-pieces avatar Jun 22 '22 20:06 mack-at-pieces