Skip to content

Table style updates #517

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Nov 25, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix: table's column width resizable
  • Loading branch information
raheeliftikhar5 committed Nov 25, 2023
commit 4eb1c4b5bf4ff42722e28efeaa4a017af3e872a7
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ import { useResizeDetector } from "react-resize-detector";
import { SlotConfigContext } from "comps/controls/slotControl";
import { EmptyContent } from "pages/common/styledComponent";
import { messageInstance } from "lowcoder-design";
import { ReactRef, ResizeHandleAxis } from "layout/gridLayoutPropTypes";

const TitleResizeHandle = styled.span`
position: absolute;
Expand Down Expand Up @@ -345,8 +346,9 @@ const ResizeableTitle = (props: any) => {
}}
onResizeStop={onResizeStop}
draggableOpts={{ enableUserSelectHack: false }}
handle={() => (
handle={(axis: ResizeHandleAxis, ref: ReactRef<HTMLDivElement>) => (
<TitleResizeHandle
ref={ref}
onClick={(e) => {
e.preventDefault();
e.stopPropagation();
Expand Down