KEMBAR78
Add WebElementView composable for embedding the absolutely positioned html content by eymar · Pull Request #2145 · JetBrains/compose-multiplatform-core · GitHub
Skip to content

Conversation

@eymar
Copy link
Member

@eymar eymar commented May 28, 2025

Add WebElementView composable for embedding the absolutely positioned HTML content

Testing

This should be tested by QA

Release Notes

Highlights - Web

  • Added a WebElementView Composable function for embedding the absolutely positioned HTML content in Compose for web target. It's supported only when using ComposeViewport entry point and it's not supported with CanvasBasedWindow, which is deprecated now.

@eymar eymar changed the title Ok/cfw html interop Add WebElementView composable for embedding the absolutely positioned html content May 28, 2025
@eymar eymar requested review from MatkovIvan and Schahen May 28, 2025 15:00
WebClipboardDemo()
}
},
HtmlInteropDemos
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we use existing pages instead(or in addition)? Please use interop in mpp/demo/InteropOrder.web.kt

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd like to have a new set of specfic demo in this case.
Also I implemented TestInteropView. I see the order is not correct - doesn't match desktop - wip.

@eymar eymar requested a review from MatkovIvan June 2, 2025 14:44
@eymar
Copy link
Member Author

eymar commented Jun 2, 2025

@SKom2 Hi! Could you please sign the contribution agreement https://cla.developers.google.com/clas using the same email as used in your commit with html interop?


Oh I just noticed that you can't use that email anymore. Then we'll have to squash the commits.

@eymar eymar force-pushed the ok/cfw_html_interop branch from a154805 to 2d72747 Compare June 3, 2025 10:17
@eymar eymar merged commit 3839689 into jb-main Jun 4, 2025
11 checks passed
@eymar eymar deleted the ok/cfw_html_interop branch June 4, 2025 14:50
@eymar
Copy link
Member Author

eymar commented Jun 16, 2025

Note: updated the release notes after merging #2175 (CanvasBasedWindow is deprecated now and doesn't support WebElementView api)

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.

3 participants