Skip to content

Conversation

InsanusMokrassar
Copy link
Contributor

@InsanusMokrassar InsanusMokrassar commented Oct 2, 2024

https://youtrack.jetbrains.com/issue/CMP-6802

Bug Description

In case if composition must be disposed, it clears all the data in container instead of data it has created

Affected Platforms

Select one or multiple affected platforms below:

  • Web (K/JS) - HTML library

Versions

  • Compose Multiplatform version*: 1.7.0-rc01
  • Kotlin version*: 2.0.20
  • OS (name, version, arch): Any
  • Browser (for Web issues): Any

Reproduction Steps

  1. Clone https://github.com/InsanusMokrassar/IssueHtmlDomNodeWrapperReproducer_3d1c3e12
  2. Call jsBrowserDevelopmentExecutableDistribution gradle task
  3. Run test index.html in browser
  4. Await while all body will be cleared (even script tag)

Expected Behavior

Only create by compose data cleared

@InsanusMokrassar InsanusMokrassar changed the title Fix of task Fix of CMP-6802 Oct 2, 2024
@MatkovIvan MatkovIvan requested a review from eymar October 7, 2024 08:50
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