Skip to content

The easy-to-use open source Business Intelligence and Embedded Analytics tool that lets everyone work with data :bar_chart:

Fix caret issue introduced by mantine 8.2.2 (#62751)

Alexander Polyankin79580a4fecf2
diff --git a/frontend/src/metabase/ui/components/inputs/Combobox/Combobox.config.ts b/frontend/src/metabase/ui/components/inputs/Combobox/Combobox.config.ts
index 579a1870c10..06d71dcc1ea 100644
--- a/frontend/src/metabase/ui/components/inputs/Combobox/Combobox.config.ts
+++ b/frontend/src/metabase/ui/components/inputs/Combobox/Combobox.config.ts
@@ -10,6 +10,15 @@ export const comboboxOverrides: MantineThemeOverride["components"] = {
Combobox: Combobox.extend({
defaultProps: {
size: "md",
+ /**
+ * The default value was changed in v8.2.3 from `true` to `false`. The
+ * problem is, however, that there is an infinite loop in the Popover
+ * that keeps flipping the `placement` if the component is unmounted.
+ * That's why we need to keep it `true` to avoid a regression. At the time
+ * of writing, the only e2e test that caught this is "should apply
+ * conditional formatting" in `pivot_tables.cy.spec.js`.
+ */
+ keepMounted: true,
},
classNames: {
options: S.options,
diff --git a/package.json b/package.json
index a61e00f1fca..d900db19e79 100644
--- a/package.json
+++ b/package.json
@@ -27,9 +27,9 @@
"@juggle/resize-observer": "^3.4.0",
"@lezer/highlight": "^1.2.1",
"@lezer/lr": "^1.4.2",
- "@mantine/core": "8.2.2",
- "@mantine/dates": "8.2.2",
- "@mantine/hooks": "8.2.2",
+ "@mantine/core": "8.2.4",
+ "@mantine/dates": "8.2.4",
+ "@mantine/hooks": "8.2.4",
"@react-oauth/google": "^0.11.1",
"@reduxjs/toolkit": "^2.5.0",
"@snowplow/browser-tracker": "^3.1.6",
diff --git a/yarn.lock b/yarn.lock
index b04191124b5..c3102833c1c 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -2781,10 +2781,10 @@
fs-extra "^9.1.0"
tempy "^1.0.0"
-"@mantine/[email protected]":
- version "8.2.2"
- resolved "https://registry.yarnpkg.com/@mantine/core/-/core-8.2.2.tgz#6983d0a6d640d894dc473555abac05783ddb7863"
- integrity sha512-+WnqII3zSD72F+7GLcRXZ/MyO4r7A4JM/yWkCSclxR4LeRQ5bd4HBRXkvXRMZP28UeL2b5X9Re2Sig3KVGDBeQ==
+"@mantine/[email protected]":
+ version "8.2.4"
+ resolved "https://registry.yarnpkg.com/@mantine/core/-/core-8.2.4.tgz#2e28effa7680b2311c676a5f8daac86d00c2366c"
+ integrity sha512-bZBxt6CFNLleARe5Ni2oYOcuRdi8ZEaxoZBmdc3sQu24tiX61xTKtjOfHaPffNMpqNQoIbgOi955rk3t1KSLig==
dependencies:
"@floating-ui/react" "^0.26.28"
clsx "^2.1.1"
@@ -2793,17 +2793,17 @@
react-textarea-autosize "8.5.9"
type-fest "^4.27.0"
-"@mantine/[email protected]":
- version "8.2.2"
- resolved "https://registry.yarnpkg.com/@mantine/dates/-/dates-8.2.2.tgz#da2e1c11ec433445749944e346fbb0f32c59e65b"
- integrity sha512-ZDY6/OBgz8827Tu+sOxPNYXrsgLxWwF7pXDEL7vQN1XAm3pQdq2ljPn7Ykh/H9d7QEXQAFO6q5knwnyAXjn06g==
+"@mantine/[email protected]":
+ version "8.2.4"
+ resolved "https://registry.yarnpkg.com/@mantine/dates/-/dates-8.2.4.tgz#652a6648b121670ee93132fd46c5fb612e6f4ec4"
+ integrity sha512-i4t1vKGQhqbT8B+/hK2iF0taYRrWKwNEFXoQrwIrau5OE8MZaIBiMVZaO6qYSW0KAvW1ZIt6SF7UpiZTqnytqQ==
dependencies:
clsx "^2.1.1"
-"@mantine/[email protected]":
- version "8.2.2"
- resolved "https://registry.yarnpkg.com/@mantine/hooks/-/hooks-8.2.2.tgz#1e404bcba3af04270e7220f2ebff988a2080acb1"
- integrity sha512-fjt0+pc1UxJIIUswu4ur72qVH+/UoFxyYmqWexuHJTOvuB86M//KUvXpFyhJcTdEENBHg2k1fyMpWmgg1VOZ5w==
+"@mantine/[email protected]":
+ version "8.2.4"
+ resolved "https://registry.yarnpkg.com/@mantine/hooks/-/hooks-8.2.4.tgz#2dba93edb0a26d037dfcac4017860057a82e2643"
+ integrity sha512-ZXQ0uk6UtJa6Gl+ZWMBh4wC7UqCAoWWvau1TOoe05sBrkyGcXSVrTfoCVzjEQaB/h8VEOUWLGtJokkiMQKcMzA==
"@marijn/find-cluster-break@^1.0.0":
version "1.0.2"