Skip to content

Commit

Permalink
Merge pull request #648 from ruilisi/434-invalid-value-for-the-leftcs…
Browse files Browse the repository at this point in the history
…s-style-warning-is-randomly-raised

fix: null check for freeze handles
  • Loading branch information
sanchit3008 authored Dec 8, 2024
2 parents 1ad747d + df12d43 commit 27e733d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ const ColumnHeader: React.FC = () => {
className="fortune-cols-freeze-handle"
onMouseDown={onColFreezeHandleMouseDown}
style={{
left: freezeHandleLeft,
left: freezeHandleLeft || 0,
}}
/>
<div
Expand Down
2 changes: 1 addition & 1 deletion packages/react/src/components/SheetOverlay/RowHeader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ const RowHeader: React.FC = () => {
className="fortune-rows-freeze-handle"
onMouseDown={onRowFreezeHandleMouseDown}
style={{
top: freezeHandleTop,
top: freezeHandleTop || 0,
}}
/>
<div
Expand Down

0 comments on commit 27e733d

Please # to comment.