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

Server sorting breaks only when editingMode is 'table' #85

Open
1 task done
josetr opened this issue Jul 7, 2023 · 0 comments
Open
1 task done

Server sorting breaks only when editingMode is 'table' #85

josetr opened this issue Jul 7, 2023 · 0 comments
Labels
V1 Issue with MRT V1

Comments

@josetr
Copy link

josetr commented Jul 7, 2023

mantine-react-table version

1.0.0-beta.25

react & react-dom versions

v18

Describe the bug and the steps to reproduce it

Clicking on the sort icon the first 2 times work normally, but it stops working after that.

It only happens only when editingMode is 'table'.

Minimal, Reproducible Example - (Optional, but Recommended)

const [sorting, setSorting] = useState([]);

const table = useMantineReactTable({
  enableEditing: true,
  editingMode: "table",
  columns,
  data,
  manualSorting: true,
  state: { sorting },
  onSortingChange: setSorting,
});

return <MantineReactTable table={table} />;

Screenshots or Videos (Optional)

No response

Do you intend to try to help solve this bug with your own PR?

None

Terms

  • I understand that if my bug cannot be reliably reproduced in a debuggable environment, it will probably not be fixed and this issue may even be closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
V1 Issue with MRT V1
Projects
None yet
Development

No branches or pull requests

2 participants