7.13.2

mantinedev/mantine7.13.2Oct 3, 2024by rtivital

AI Summary

This release focuses on fixing numerous UI bugs and improving component interactions. Key additions include the `resetRef` prop for FileInput and fixes for Popover double-calling, Pagination overrides, and ScrollArea triggers.

Key Highlights

  • Added `resetRef` prop support to FileInput
  • Fixed Popover `onClose` being called twice
  • Fixed `getItemProps` not overriding children in Pagination
  • Fixed `onBottomReached` not being called in ScrollArea.Autosize
  • Fixed duplicate tag removal logic in TagsInput

New Features

  • resetRef prop support

Full Release Notes

## What's Changed
- `[@mantine/dates]` DateInput: Fix `onClick` handler passed to `getDayProps` not being called
- `[@mantine/core]` Badge: Fix incorrect cursor styles
- `[@mantine/core]` FileInput: Add `resetRef` prop support
- `[@mantine/core]` Popover: Fix `onClose` function being called twice with controlled state
- `[@mantine/spotlight]` Fix selected index not being reset when the spotlight is closed (#6842)
- `[@mantine/core]` Popover: Improve performance of scrolling when large number of closed Popovers are rendered on the same page (#6771)
- `[@mantine/core]` Pagination: Fix `getItemProps` not being able to override control `children` prop (#6789)
- `[@mantine/core]` ScrollArea: Fix `onBottomReached` not being called if the viewport has decimal px height value (#6792)
- `[@mantine/hooks]` use-in-viewport: Fix hook not reacting to node changes (#6926)
- `[@mantine/core]` NumberInput: Fix incorrect handling of decimal numbers with more than 15 decimal places (#6823)
- `[@mantine/core]` Slider: Fix marks not being aligned correctly (#6909)
- `[@mantine/hooks]` use-fullscreen: Fix target node changes being ignored (#6923)
- `[@mantine/core]` Badge: Fix incorrect sections alignment for `variant="dot"`
- `[@mantine/core]` TagsInput: Fix incorrect logic of removing duplicate tags (#6922)
- `[@mantine/core]` AppShell: Fix error when Suspense is rendered inside AppShell (#6927)
- `[@mantine/core]` Menu: Fix `onKeyDown` prop not working in Menu.Dropdown component (#6910)

## New Contributors
* @RabeeAbuBaker made their first contribution in https://github.com/mantinedev/mantine/pull/6927
* @linspw made their first contribution in https://github.com/mantinedev/mantine/pull/6923
* @fellmann made their first contribution in https://github.com/mantinedev/mantine/pull/6926
* @maclementED made their first contribution in https://github.com/mantinedev/mantine/pull/6842

**Full Changelog**: https://github.com/mantinedev/mantine/compare/7.13.1...7.13.2