From 519e2d5e899a011fb3488bc8ffc08fc916301fc0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tu=C4=9F=C3=A7e=20K=C3=BC=C3=A7=C3=BCko=C4=9Flu?= Date: Mon, 9 Oct 2023 18:22:36 +0300 Subject: [PATCH] Fixed #4566 - Tailwind Datatable: Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'frozen') --- components/lib/passthrough/tailwind/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/lib/passthrough/tailwind/index.js b/components/lib/passthrough/tailwind/index.js index 51e82b919..cb5ba5909 100644 --- a/components/lib/passthrough/tailwind/index.js +++ b/components/lib/passthrough/tailwind/index.js @@ -3747,7 +3747,7 @@ export default { context.sorted ? 'bg-blue-50 text-blue-700' : 'bg-slate-50 text-slate-700', // Sort context.sorted ? 'dark:text-white/80 dark:bg-blue-300' : 'dark:text-white/80 dark:bg-gray-900', // Dark Mode { - 'sticky z-[1]': props.frozen || props.frozen === '', // Frozen Columns + 'sticky z-[1]': context.frozen || context.frozen === '', // Frozen Columns 'border-x border-y': context?.showGridlines, 'overflow-hidden space-nowrap border-y relative bg-clip-padding': context.resizable // Resizable }