mori-atsushi / insetsx

WindowInsets utility for compose multiplatform
Apache License 2.0
227 stars 2 forks source link

Add support for Web #37

Closed terrakok closed 1 year ago

terrakok commented 1 year ago

Please add support for insetsx Web platform. It would enough to make it the same as on the Desktop target: simple zero paddings.

mori-atsushi commented 1 year ago

I am not familiar with it, but there is a safe area in iOS safari. https://developer.mozilla.org/en-US/docs/Web/CSS/env

mori-atsushi commented 1 year ago

Also, Compose web is available for HTML and wasm.

terrakok commented 1 year ago

I guess for the first iteration, it is enough to just have a zero paddings

mori-atsushi commented 1 year ago

Web support has been added in v0.1.0-alpha07. https://github.com/mori-atsushi/insetsx/releases/tag/v0.1.0-alpha07

terrakok commented 1 year ago

I added the library to my web wizard 😉 https://terrakok.github.io/Compose-Multiplatform-Wizard/