Tabulator: Can not move cursor to previous line

Created on 1 Aug 2019  路  5Comments  路  Source: olifolkerd/tabulator

Describe the bug

I want to move cursor one line up, but it is moved to different row when I press arrow up at the textarea editor

Bofore I press arrow up
_

After I press arrow up
_2

Tabulator Info

  • Which version of Tabulator are you using? 4.2.2

Expected behavior
_3

Desktop (please complete the following information):

  • OS: Linux Mint 19.1
  • Browser FF
  • Version 66
Enhancement

All 5 comments

That is the default key binding for the up arrow. For more information and how to modify see:
http://tabulator.info/docs/4.3/keybindings#default

yeah, to my mind that is not the case for multi line editor. because arrowup at that editor means something different.

For example, If I tries to list over lookup editor I press arrow up - cursor is moved to next item in the select list and not to different table row

_

Alright. In edit.js 'select' the up arrow key is caught and:

case 38: //up arrow
e.stopImmediatePropagation();
e.stopPropagation();
e.preventDefault();

This is repeated for the other arrow keys
There is no such code in 'textarea'.

@olifolkerd will need to explain if there is a purpose for this or not?

Hey @KES777

You are correct, that should certainly navigate the text area better.

As it happens i have already written that functionality for another project i was working on so i can pull it back into the formatter for the 4.5 release

Cheers

Oli :)

Hey

I have just pushed an update to the 4.5 branch that adds a new verticalNavigation editorParam to a lot of editors to make it easier to customise the navigation experience.

This should be released in the next few weeks.

Cheers

Oli :)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

andreivanea picture andreivanea  路  3Comments

tomheaps picture tomheaps  路  3Comments

AndrewHutcheson picture AndrewHutcheson  路  3Comments

soo1025 picture soo1025  路  3Comments

Manbec picture Manbec  路  3Comments