workflowproducts / envelope

Publish web apps based on your PostgreSQL database fast!
https://workflowproducts.com/envelope.html
Apache License 2.0
53 stars 2 forks source link

GS-Table Arrow Key Text Selection #138

Closed michaeltocci closed 6 years ago

michaeltocci commented 6 years ago

Right now, if you want to select all the text in a cell with arrow keys (assuming the cursor is in the text already), you have to use shift+right arrow to go to the end.

Standard practice is to use shift+down arrow to skip all the way to the end. Right now, that doesn't work. It just changes from text selection to cell selection.

nunziotocci commented 6 years ago

The same problem seems to be present with shift+end and shift+home. If the cursor is in the input it shouldn't override any selection keys.

michaeltocci commented 6 years ago

Maybe we should be even more dynamic. For example: if you do shift+down arrow while at the last character already, then in breaks into cell selection. So, if the text selection goes outside the bounds of the full text, it moves to cell selection.

We've done this before, we would just have to dig up the code and adapt it.

That way, if the user clicks into a field and they want to do cell selection, they can intuitively arrow out of the text.

crosstocci commented 6 years ago

Fixed in next release.