primereact
primereact copied to clipboard
DataTable: Can't move cursor with click for input components
Describe the bug
When inside a DataTable, input components (eg InputText, InputNumber) don't allow clicking to move the cursor.
- Outside a DataTable they work as expected
- The problem was introduced in the release of
10.8.3
(rolling back to10.8.2
in the stackblitz fixes it)
Reproducer
https://stackblitz.com/edit/vitejs-vite-vdkijt?file=src%2FApp.tsx
System Information
See stackblitz
Steps to reproduce the behavior
- Open the stackblitz
- Try to click the inputs outside the table
- See that cursor is positioned where you click
- Try to click the inputs inside the table
- See that cursor is always at the end of the value
Expected behavior
Cursor should move to where clicked as previously