Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

row.reformat() Causes Loss of Focus #4461

Open
stephen-lemp opened this issue Apr 10, 2024 · 0 comments
Open

row.reformat() Causes Loss of Focus #4461

stephen-lemp opened this issue Apr 10, 2024 · 0 comments
Labels
Possible Bug A possible bug that needs investigation

Comments

@stephen-lemp
Copy link

Describe the bug
row.reformat() causes loss of focus on current cell

Tabulator Info
6.2

Working Example
https://jsfiddle.net/splemp/0k9Lw2b4/

To Reproduce
A step by step guide to recreate the issue in your JS Fiddle or Codepen:

  1. Select Quantity cell on row 1
  2. Enter "2"
  3. Hit tab

Expected behavior
Focus should remain on the next cell (Committed).

Desktop (please complete the following information):

  • OS: macOS
  • Browser Chrome
  • Version 123.0.6312.107 (Official Build) (arm64)

Additional context
It took a while to figure out why I was losing focus, so if this isn't a bug maybe it could be documented somewhere? I was suspicious for a while that it was due to doing row.getCell('field').setValue('bar'), but that wasn't it. I'm hoping to be able to set the value of cells in the rowFormatter section, but if that's not supported, that would be nice to know.

@stephen-lemp stephen-lemp added the Possible Bug A possible bug that needs investigation label Apr 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Possible Bug A possible bug that needs investigation
Projects
None yet
Development

No branches or pull requests

1 participant