Skip to content

Fix template default strategy to check for buffer elements on detatch - #1

Merged
sirth1337 merged 1 commit into
masterfrom
template-remove-buffers-patch
Jan 20, 2021
Merged

Fix template default strategy to check for buffer elements on detatch#1
sirth1337 merged 1 commit into
masterfrom
template-remove-buffers-patch

Conversation

@sirth1337

Copy link
Copy Markdown
Owner

It's possible to run into an error where detaching the virtual repeat will lose context of the bottom and top buffer elements (due to underlying conditional changes possibly). As a result, the templateStrategy.removeBuffers will throw an error when you attempt to call removeChild when the element is not a child of the given parent element.

@sirth1337
sirth1337 merged commit 7bf8f5f into master Jan 20, 2021
@sirth1337
sirth1337 deleted the template-remove-buffers-patch branch January 20, 2021 04:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant