Skip to content
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

file picker is not working with live preview #1849

Open
abose opened this issue Sep 13, 2024 · 0 comments
Open

file picker is not working with live preview #1849

abose opened this issue Sep 13, 2024 · 0 comments
Labels
bug Something isn't working customer raised issues raised by end user/customer

Comments

@abose
Copy link
Member

abose commented Sep 13, 2024

Describe the bug

Hi I tried to use file picker to save to local file but it is not working with live preview due to following error:

Error saving file: DOMException: Failed to execute 'showSaveFilePicker' on 'Window': Cross origin sub frames aren't allowed to show a file picker.

https://github.com/orgs/phcode-dev/discussions/1844

Reproduction

No response

Expected behavior

No response

OS, Browser and Phoenix versions

all

logs or debug stack trace if any

No response

Additional context

This cannot be fixed with our current iframe based impl. But in the future, when we migrate to tauri 2, if we can embed web tauri webviews directly as the live preview surface, this is doable.

@abose abose added bug Something isn't working customer raised issues raised by end user/customer labels Sep 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working customer raised issues raised by end user/customer
Projects
None yet
Development

No branches or pull requests

1 participant