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

IdsDatagrid: Wrong cursor position and Column Filter Fields aligned 'right' #1302

Closed
GMInf opened this issue May 29, 2023 · 0 comments · Fixed by #1306
Closed

IdsDatagrid: Wrong cursor position and Column Filter Fields aligned 'right' #1302

GMInf opened this issue May 29, 2023 · 0 comments · Fixed by #1306
Assignees
Labels
team: m3 type: bug 🐛 Something isn't working [2] Velocity rating (Fibonacci)

Comments

@GMInf
Copy link

GMInf commented May 29, 2023

Describe the bug
When an ids column header is right aligned, the filter input field's cursor is on the left, it should be on the right.

To Reproduce

Steps to reproduce the behavior:

  1. clone enterprise-wc
  2. run npm i
  3. edit disable-client-filter.ts
  4. update column color, set align: 'right'
  columns.push({
    id: 'color',
    name: 'Color',
    field: 'color',
    sortable: true,
    resizable: true,
    reorderable: true,
    formatter: dataGrid.formatters.text,
    filterType: dataGrid.filters.text,
    **align: 'right'**
  });
  1. run npm start
  2. disable-client-filter.html
  3. type on the color header filter
  4. error: cursor is on the left, it should be on the right
  5. press backspace
  6. error: backspace is behaving as it should but the cursor is on the wrong position (on the left, should be right)

Expected behavior
When typing, cursor should be on the right of the text.

Version

  • ids-enterprise-wc: 1.0.0-beta.11

Screenshots
image

Platform
Infor Application/Team Name: M3 UX
OS Version: Windows 11
Browser Name: [chrome
Browser Version: 113.0.5672.127 (Official Build) (64-bit)

Additional context
Add any other context about the problem here.

@tmcconechy tmcconechy added type: bug 🐛 Something isn't working [1] Velocity rating (Fibonacci) labels May 30, 2023
@tmcconechy tmcconechy self-assigned this May 30, 2023
@tmcconechy tmcconechy added [2] Velocity rating (Fibonacci) and removed [1] Velocity rating (Fibonacci) labels May 30, 2023
@tmcconechy tmcconechy removed their assignment May 30, 2023
@tmcconechy tmcconechy self-assigned this May 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
team: m3 type: bug 🐛 Something isn't working [2] Velocity rating (Fibonacci)
Projects
No open projects
Development

Successfully merging a pull request may close this issue.

2 participants