Skip to content

Commit

Permalink
Fixed #4566 - Tailwind Datatable: Uncaught (in promise) TypeError: Ca…
Browse files Browse the repository at this point in the history
…nnot read properties of undefined (reading 'frozen')
  • Loading branch information
tugcekucukoglu committed Oct 9, 2023
1 parent 72b7038 commit 519e2d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/lib/passthrough/tailwind/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 519e2d5

Please sign in to comment.