mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00:00
fix: all issues spreadsheet sorting and kanban dnd for long lists (#3550)
* fix all issues filter for spreadsheet view * fix kanban dnd with long lists
This commit is contained in:
parent
2eab3b41a2
commit
138d06868b
@ -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="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}>
|
<DragDropContext onDragStart={onDragStart} onDragEnd={onDragEnd}>
|
||||||
{/* drag and delete component */}
|
{/* drag and delete component */}
|
||||||
<div
|
<div
|
||||||
|
@ -148,9 +148,15 @@ export const AllIssueLayoutRoot: React.FC = observer(() => {
|
|||||||
|
|
||||||
const handleDisplayFiltersUpdate = useCallback(
|
const handleDisplayFiltersUpdate = useCallback(
|
||||||
(updatedDisplayFilter: Partial<IIssueDisplayFilterOptions>) => {
|
(updatedDisplayFilter: Partial<IIssueDisplayFilterOptions>) => {
|
||||||
if (!workspaceSlug) return;
|
if (!workspaceSlug || !globalViewId) return;
|
||||||
|
|
||||||
updateFilters(workspaceSlug.toString(), undefined, EIssueFilterType.DISPLAY_FILTERS, { ...updatedDisplayFilter });
|
updateFilters(
|
||||||
|
workspaceSlug.toString(),
|
||||||
|
undefined,
|
||||||
|
EIssueFilterType.DISPLAY_FILTERS,
|
||||||
|
{ ...updatedDisplayFilter },
|
||||||
|
globalViewId.toString()
|
||||||
|
);
|
||||||
},
|
},
|
||||||
[updateFilters, workspaceSlug]
|
[updateFilters, workspaceSlug]
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user