forked from twentyhq/twenty
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Dropdown Overlapping Sidebar on Column Header Click in Horizonta…
…l Table When Scrolling
- Loading branch information
1 parent
558cc68
commit 3db6985
Showing
5 changed files
with
80 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
.../twenty-front/src/modules/object-record/record-table/contexts/RecordTableScrollContext.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
import { createContext, Dispatch, SetStateAction } from 'react'; | ||
|
||
export type RecordTableScrollContextProps = { | ||
enableXScroll: boolean; | ||
setEnableXScroll: Dispatch<SetStateAction<boolean>>; | ||
enableYScroll: boolean; | ||
setEnableYScroll: Dispatch<SetStateAction<boolean>>; | ||
}; | ||
|
||
export const RecordTableScrollContext = | ||
createContext<RecordTableScrollContextProps>( | ||
{} as RecordTableScrollContextProps, | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters