Skip to content

Commit

Permalink
fix: all issues spreadsheet sorting and kanban dnd for long lists (#3550
Browse files Browse the repository at this point in the history
)

* fix all issues filter for spreadsheet view

* fix kanban dnd with long lists
  • Loading branch information
rahulramesha authored Feb 2, 2024
1 parent 2eab3b4 commit 138d068
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ export const BaseKanBanRoot: React.FC<IBaseKanBanLayout> = observer((props: IBas
)}

<div className="horizontal-scroll-enable relative h-full w-full overflow-auto bg-custom-background-90">
<div className="relative h-full w-max min-w-full bg-custom-background-90 px-2">
<div className="relative h-max w-max min-w-full bg-custom-background-90 px-2">
<DragDropContext onDragStart={onDragStart} onDragEnd={onDragEnd}>
{/* drag and delete component */}
<div
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -148,9 +148,15 @@ export const AllIssueLayoutRoot: React.FC = observer(() => {

const handleDisplayFiltersUpdate = useCallback(
(updatedDisplayFilter: Partial<IIssueDisplayFilterOptions>) => {
if (!workspaceSlug) return;

updateFilters(workspaceSlug.toString(), undefined, EIssueFilterType.DISPLAY_FILTERS, { ...updatedDisplayFilter });
if (!workspaceSlug || !globalViewId) return;

updateFilters(
workspaceSlug.toString(),
undefined,
EIssueFilterType.DISPLAY_FILTERS,
{ ...updatedDisplayFilter },
globalViewId.toString()
);
},
[updateFilters, workspaceSlug]
);
Expand Down

0 comments on commit 138d068

Please sign in to comment.