Skip to content
This repository was archived by the owner on Aug 29, 2025. It is now read-only.

Commit 60c952f

Browse files
author
Shammamah Hossain
committed
Remove loading states check from cell event handlers.
1 parent f866cee commit 60c952f

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

src/dash-table/handlers/cellEvents.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -85,12 +85,11 @@ export const handleDoubleClick = (propsFn: () => ICellFactoryProps, idx: number,
8585
viewport,
8686
virtualized,
8787
visibleColumns,
88-
loading_state
8988
} = propsFn();
9089

9190
const c = visibleColumns[i];
9291

93-
if (!c.editable || loading_state && loading_state.is_loading) {
92+
if (!c.editable) {
9493
return;
9594
}
9695

@@ -119,13 +118,12 @@ export const handleChange = (propsFn: () => ICellFactoryProps, idx: number, i: n
119118
setProps,
120119
virtualized,
121120
visibleColumns,
122-
loading_state
123121
} = propsFn();
124122

125123
const c = visibleColumns[i];
126124
const realIdx = virtualized.indices[idx];
127125

128-
if (!c.editable || loading_state && loading_state.is_loading) {
126+
if (!c.editable) {
129127
return;
130128
}
131129

0 commit comments

Comments
 (0)