Skip to content

fix: revert recursive remove -causing crashes #1819

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 13, 2019
Merged

Conversation

vakrilov
Copy link
Contributor

@vakrilov vakrilov commented May 13, 2019

This reverting the recursive removeChild implemented in #1740 by @m-abs
We found the following issues and decided to revert the change until they are resolved:

  1. livesync broken after PR #1740 #1818 - Error: Cannot read property 'textTransform' of undefined in createSpannableStringBuilder. Already PR in tns-core-modules
  2. Crash in nativescript-sdk-examples-ng with tab view. To reproduce go to : TabView -> Basic -> [back]. You get a crash (in console) and cannot navigate any more

@ghost ghost assigned vakrilov May 13, 2019
@SvetoslavTsenov
Copy link
Contributor

test sdk_ng

@cla-bot cla-bot bot added the cla: yes label May 13, 2019
@ghost ghost assigned SvetoslavTsenov May 13, 2019
@ghost ghost removed the in progress label May 13, 2019
@SvetoslavTsenov
Copy link
Contributor

test sdk_ng

@vakrilov vakrilov merged commit dce5108 into master May 13, 2019
@ghost ghost removed the new PR label May 13, 2019
@vakrilov vakrilov deleted the revert-recursive-remove branch May 13, 2019 13:52
@m-abs
Copy link
Contributor

m-abs commented May 13, 2019

I think, i know what causes this.

I removed the test for Span and FormattedString, thinking isDetachedView would handle it.

@vakrilov
Copy link
Contributor Author

I have fixed 1. in NativeScript/NativeScript#7237
However, the issue with the TabView seems more tricky. That's why we decided to revert for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants