<@U0BMF6PDJ> how can I create a web view inside a ...
# webassembly
o
@bashor how can I create a web view inside a Box/Row etc composable in ktwsm
p
It would be cool to have to kind of view to insert html elements inside compose, in this case i would use an iframe. (Similar to uikitview in compose ios). But i dont think this is possible right now without a complicated setup taking into account scroll in compose
b
h
@bashor any official support from JB on this matter?
o
I will check it out, thanks.
b
cc @Oleksandr Karpovich [JB]
o
@bashor following up. I got stuff working somewhat. The challenge is if I want to load a webpage in the HtmlView, it will take over the entire browser tab, unless I do it in a iframe. But iframe won't work for most major sites like YouTube Twitter etc, due to Content Security Policy. I don't know if there is any other way to load a webpage in a composable or perhaps creating a separate browser instance for that composable.
o
any official support from JB on this matter?
not yet. But the HTML<->CfW interop is a feature we aim to work on in the future releases.
b
@O'Shane McKenzie I don’t have a solution in mind, but I guess it’s common problem about embedding any site with iframe so you can try to research a general solution working for html & JS