We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fee9092 commit 66c88fcCopy full SHA for 66c88fc
1 file changed
src/utils/eventHelpers.ts
@@ -175,10 +175,15 @@ export const COLUMN_CONFIGS: ColumnConfig[] = [
175
"compositionend",
176
],
177
accessor: (e) => {
178
+ // Only show data for input and composition events
179
if (e.eventType === "input" || e.eventType === "beforeinput") {
180
return (e as InputEventData).data || "";
181
}
- return (e as CompositionEventData).data || "";
182
+ if (e.eventType === "compositionstart" || e.eventType === "compositionupdate" || e.eventType === "compositionend") {
183
+ return (e as CompositionEventData).data || "";
184
+ }
185
+ // Return null for keyboard events so they show as empty
186
+ return null;
187
},
188
formatter: (value) => (value === null ? "" : JSON.stringify(value)),
189
0 commit comments