-
Notifications
You must be signed in to change notification settings - Fork 102
Add WebElementView composable for embedding the absolutely positioned html content #2145
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
Conversation
| WebClipboardDemo() | ||
| } | ||
| }, | ||
| HtmlInteropDemos |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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.
compose/ui/ui/src/jsMain/kotlin/androidx/compose/ui/viewinterop/WebElementView.js.kt
Outdated
Show resolved
Hide resolved
compose/ui/ui/src/webCommonW3C/kotlin/androidx/compose/ui/viewinterop/InteropView.wasmJs.kt
Outdated
Show resolved
Hide resolved
...se/ui/ui/src/webCommonW3C/kotlin/androidx/compose/ui/viewinterop/WebElementView.webCommon.kt
Show resolved
Hide resolved
...se/ui/ui/src/webCommonW3C/kotlin/androidx/compose/ui/viewinterop/WebElementView.webCommon.kt
Outdated
Show resolved
Hide resolved
...ui/src/webCommonW3C/kotlin/androidx/compose/ui/viewinterop/WebInteropElementHolder.wasmJs.kt
Outdated
Show resolved
Hide resolved
...ui/src/webCommonW3C/kotlin/androidx/compose/ui/viewinterop/WebInteropElementHolder.wasmJs.kt
Outdated
Show resolved
Hide resolved
...ui/ui/src/webCommonW3C/kotlin/androidx/compose/ui/viewinterop/WebInteropViewHolder.wasmJs.kt
Outdated
Show resolved
Hide resolved
...ui/ui/src/webCommonW3C/kotlin/androidx/compose/ui/viewinterop/WebInteropViewHolder.wasmJs.kt
Outdated
Show resolved
Hide resolved
...ui/src/webCommonW3C/kotlin/androidx/compose/ui/viewinterop/WebInteropElementHolder.wasmJs.kt
Outdated
Show resolved
Hide resolved
|
@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. |
...ui/src/webCommonW3C/kotlin/androidx/compose/ui/viewinterop/WebInteropElementHolder.wasmJs.kt
Outdated
Show resolved
Hide resolved
...ui/src/webCommonW3C/kotlin/androidx/compose/ui/viewinterop/WebInteropElementHolder.wasmJs.kt
Outdated
Show resolved
Hide resolved
compose/ui/ui/src/webCommonW3C/kotlin/androidx/compose/ui/window/ComposeWindow.web.kt
Show resolved
Hide resolved
compose/ui/ui/src/jsMain/kotlin/androidx/compose/ui/viewinterop/InteropView.js.kt
Show resolved
Hide resolved
a154805 to
2d72747
Compare
…le (boundsInRoot are is 0)
|
Note: updated the release notes after merging #2175 ( |
Add WebElementView composable for embedding the absolutely positioned HTML content
Testing
This should be tested by QA
Release Notes
Highlights - Web
WebElementViewComposable function for embedding the absolutely positioned HTML content in Compose for web target. It's supported only when usingComposeViewportentry point and it's not supported withCanvasBasedWindow, which is deprecated now.