Skip to content
This repository was archived by the owner on Jul 28, 2025. It is now read-only.

Commit 1f952c3

Browse files
committed
Merge branch 'impove_resizing_slide'
2 parents a2b3f5e + 3a3cbc0 commit 1f952c3

File tree

2 files changed

+9
-6
lines changed

2 files changed

+9
-6
lines changed

src/components/HeaderMenu.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ import header_action_button_section from "components/headerActions/HeaderActionB
99
import { HeaderActionResponse } from "cdm/HeaderActionModel";
1010
import header_action_types_section from "components/headerActions/HeaderActiontypesSection";
1111
import { TableColumn, TableDataType } from "cdm/FolderModel";
12-
import { Column } from "@tanstack/react-table";
1312

1413
const HeaderMenu = (headerMenuProps: HeaderMenuProps) => {
1514
const { table, header, column } = headerMenuProps.headerProps;

src/components/TableHeader.tsx

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -66,18 +66,22 @@ export default function TableHeader(headerProps: TableHeaderProps) {
6666
drag(drop(DnDref));
6767
return (
6868
<div
69-
ref={DnDref}
70-
data-handler-id={handlerId}
7169
key={`${header.id}-${headerIndex}`}
7270
className={`${c("th noselect")} header`}
7371
style={{
7472
width: header.getSize(),
7573
opacity,
7674
}}
7775
>
78-
{header.isPlaceholder
79-
? null
80-
: flexRender(header.column.columnDef.header, header.getContext())}
76+
<div
77+
ref={DnDref}
78+
data-handler-id={handlerId}
79+
key={`${header.id}-${headerIndex}-dnd`}
80+
>
81+
{header.isPlaceholder
82+
? null
83+
: flexRender(header.column.columnDef.header, header.getContext())}
84+
</div>
8185
<div
8286
key={`${header.id}-${headerIndex}-resizer`}
8387
{...{

0 commit comments

Comments
 (0)