You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to render a transparent tauri webview on top of wgpu but I'm running into some inconsistencies between platforms. On macOS everything works correctly, but on iOS the wgpu surface is rendered on top of the the webview instead. I'm not sure which is the correct behavior but that it differs between targets seems like a bug to me.
Describe the bug
I'm trying to render a transparent tauri webview on top of wgpu but I'm running into some inconsistencies between platforms. On macOS everything works correctly, but on iOS the wgpu surface is rendered on top of the the webview instead. I'm not sure which is the correct behavior but that it differs between targets seems like a bug to me.
Reproduction
https://github.com/johanholmerin/tauri-v2-wgpu/tree/mobile
Compare
cargo tauri dev
andcargo tauri ios dev
Expected behavior
macOS:
![macos](https://private-user-images.githubusercontent.com/7433263/344457858-bb948242-cf0a-4313-8ab7-d515fc7e3322.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTk5ODk0NjksIm5iZiI6MTcxOTk4OTE2OSwicGF0aCI6Ii83NDMzMjYzLzM0NDQ1Nzg1OC1iYjk0ODI0Mi1jZjBhLTQzMTMtOGFiNy1kNTE1ZmM3ZTMzMjIucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDcwMyUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA3MDNUMDY0NjA5WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9ODUyZTIyYWQzYzhhNGUwZDMxYzc0Y2ZjZmUzYTdiMGI2NWY5YTJmNjQ5ZDQ1ZjlhYzQ2MmU2Yzk0M2EyMDIzZiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.aN4NgdhUCcH4dIT4D9NJG_o6fii-4YF5eqtbbfq_WvQ)
iOS:
(webview is rendered underneath wgpu)
![ios](https://private-user-images.githubusercontent.com/7433263/344457860-a0b6a1aa-2fae-400c-9e95-e392275d3b9e.PNG?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTk5ODk0NjksIm5iZiI6MTcxOTk4OTE2OSwicGF0aCI6Ii83NDMzMjYzLzM0NDQ1Nzg2MC1hMGI2YTFhYS0yZmFlLTQwMGMtOWU5NS1lMzkyMjc1ZDNiOWUuUE5HP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDcwMyUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA3MDNUMDY0NjA5WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9Y2JmNGY0MDExMWFkY2NmNTQ4MzZkNmRkMWZhZDg0NTExYTUyOTI5YWM3ZTBmMzMwMmRmZTEwNWNjMDQyMzI4OCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.bci35aqMxAOULfdyHUdnpinFx2JAQOGjHTwflP_ez8Q)
Full
tauri info
outputStack trace
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: