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

Datagrid: Add selectOnEdit setting for inline editor #8870

Closed
rcoseng opened this issue Jul 4, 2024 · 1 comment · Fixed by #8919
Closed

Datagrid: Add selectOnEdit setting for inline editor #8870

rcoseng opened this issue Jul 4, 2024 · 1 comment · Fixed by #8919
Assignees
Labels
type: bug 🐛 [2] Velocity rating (Fibonacci)

Comments

@rcoseng
Copy link

rcoseng commented Jul 4, 2024

Describe the bug
On 1st click in the inline editor, the text is highlighted (expected)
On succeeding clicks in between characters, the cursor moves and then is highlighted.
When trying to drag to select only a set of characters, the whole text is highlighted on release of mouse.

To Reproduce

Steps to reproduce the behavior:

  1. Go to https://latest-enterprise.demo.design.infor.com/components/datagrid/test-editable-with-inline-editor.html
  2. Click on inline editor "Repair"
  3. Click in between "R" and "e" (cursor should be in between)
  4. Click in between "a" and "i"
  5. See text highlight behavior
  6. Click in between "R" and "e" (cursor should be in between)
  7. Drag to select "epai" only
  8. Notice the whole text is selected

Expected behavior
On clicks after the first, the cursor is moved in between characters.
When dragging to select a set of characters, the whole text is not highlighted on release.

Version

  • ids-enterprise: 4.95

Screenshots

clicking.on.inline.editor.mp4

Additional context
see linked comment for selectOnEdit suggestion:
#8763 (comment)

@tmcconechy tmcconechy changed the title Add selectOnEdit setting for inline editor Datagrid: Add selectOnEdit setting for inline editor Jul 5, 2024
@tmcconechy tmcconechy added type: bug 🐛 [2] Velocity rating (Fibonacci) labels Jul 5, 2024
@tmcconechy
Copy link
Member

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug 🐛 [2] Velocity rating (Fibonacci)
Development

Successfully merging a pull request may close this issue.

3 participants