8.1.1
mantinedev/mantine8.1.1Jun 16, 2025by rtivital
AI Summary
Addresses critical bugs in hooks, tree components, date pickers, and keyboard handling to improve reliability and browser compatibility.
Key Highlights
- Fixed React 19 cleanup ref callback in use-merged-ref
- Fixed Tree detached DOM nodes memory leak
- Fixed Escape key not being handled correctly in use-hotkeys
- Fixed DatePicker type="range" value type
- Fixed DatePicker className/style when presets are set
New Features
- use-merged-ref React 19 fix
- Tree memory leak fix
- use-hotkeys Escape key fix
- DatePicker range type fix
- TimePicker min/max value fixes
- use-set union method fix
Full Release Notes
## What's Changed - `[@mantine/hooks]` use-set: Fix `union` method not working correctly (#7981) - `[@mantine/core]` Popover: Fix incorrect position handling (#7955, #7953) - `[@mantine/dates]` TimePicker: Fix incorrect empty string handling (#7927) - `[@mantine/dates]` DatePickerInput: Fix incorrect `onChange` type (#7943) - `[@mantine/dates]` TimePicker: Fix incorrect handling of `min`/`max` values in some cases (#7904) - `[@mantine/hooks]` use-hotkeys: Fix Escape key not being handled correctly in some browsers (#7928) - `[@mantine/core]` Tree: Fix detached DOM nodes memory leak (#7940) - `[@mantine/hooks]` use-debounced-callback: Add `cancel` method support (#7965) - `[@mantine/dates]` DatePicker: Fix incorrect value type for `type="range" (#7937)` - `[@mantine/dates]` DatePicker: Fix `className` and `style` props not working when `presets` prop is set (#7960) ## New Contributors * @JeonJaewon made their first contribution in https://github.com/mantinedev/mantine/pull/7978 * @KevinLu made their first contribution in https://github.com/mantinedev/mantine/pull/7942 **Full Changelog**: https://github.com/mantinedev/mantine/compare/8.1.0...8.1.1