This repository has been archived by the owner on Dec 12, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: make connector patch ItemCache only once (#1128)
Previous fix for client and server grids on the same page was to store the original `ensureSubCacheForScaledIndex` method before it was patched by connector, but that introduced a stack overflow error after a second grid is added from the server. This fix makes ItemCache patching to happen only once the first server grid is added, and prevents it from happening after other grids are added. Fixes #1077
- Loading branch information
1 parent
ab7c1ff
commit f716b8c
Showing
3 changed files
with
74 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters