Skip to content

Commit

Permalink
Fixed cell editor initialization
Browse files Browse the repository at this point in the history
  • Loading branch information
rajdeep committed Dec 11, 2023
1 parent dc8b111 commit 49b637b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Proton/Sources/Swift/Grid/View/GridCell.swift
Original file line number Diff line number Diff line change
Expand Up @@ -169,8 +169,9 @@ open class GridCell {
return _editor
}
let editor = editorInitializer()
onEditorInitialized?(self, editor)
// backing var needs to be set before invoking onEditorInitialized
_editor = editor
onEditorInitialized?(self, editor)
return editor
}

Expand Down

0 comments on commit 49b637b

Please sign in to comment.