mantine-react-table version
2.0.0-beta.9
react & react-dom versions
18.1.0
Describe the bug and the steps to reproduce it
The utility function parseFromValuesOrFunc is currently not exported but available in the commonJS and ESModules distribution. There is also no type definition available for parseFromValuesOrFunc
Minimal, Reproducible Example - (Optional, but Recommended)
We are using MantineReactTable as Re-usable MRT Component. We want to extend propagated mantineFilterMultiSelectProps and mantineFilterSelectProps with custom settings.
mantineFilterMultiSelectProps: (args) => (_.merge(
{ clearable: true, comboboxProps: { width: "max-content", position: "bottom-start" } },
parseFromValuesOrFunc(mantineFilterMultiSelectProps, args))
),
Besides that this is a working hot fix for ResizeObserver exception floating-ui/floating-ui/issues/1740
Error: ResizeObserver loop completed with undelivered notifications
We want to use the unexposed mantine-react-table utility function parseFromValuesOrFunc for that.
As reference see exported utility functions in https://github.com/TanStack/table/blob/66fbe3a74b129e700e4667d1d5e1b29dd0a7b723/packages/table-core/src/utils.ts#L81
Screenshots or Videos (Optional)
No response
Do you intend to try to help solve this bug with your own PR?
Yes, I am also opening a PR that solves the problem along side this issue
Terms
mantine-react-table version
2.0.0-beta.9
react & react-dom versions
18.1.0
Describe the bug and the steps to reproduce it
The utility function
parseFromValuesOrFuncis currently not exported but available in the commonJS and ESModules distribution. There is also no type definition available forparseFromValuesOrFuncMinimal, Reproducible Example - (Optional, but Recommended)
We are using MantineReactTable as Re-usable MRT Component. We want to extend propagated
mantineFilterMultiSelectPropsandmantineFilterSelectPropswith custom settings.Besides that this is a working hot fix for ResizeObserver exception floating-ui/floating-ui/issues/1740
Error: ResizeObserver loop completed with undelivered notificationsWe want to use the unexposed mantine-react-table utility function
parseFromValuesOrFuncfor that.As reference see exported utility functions in https://github.com/TanStack/table/blob/66fbe3a74b129e700e4667d1d5e1b29dd0a7b723/packages/table-core/src/utils.ts#L81
Screenshots or Videos (Optional)
No response
Do you intend to try to help solve this bug with your own PR?
Yes, I am also opening a PR that solves the problem along side this issue
Terms