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

[Web] toasts are not displayed #1934

Closed
2 of 7 tasks
diachedelic opened this issue Sep 8, 2019 · 3 comments · Fixed by #1998
Closed
2 of 7 tasks

[Web] toasts are not displayed #1934

diachedelic opened this issue Sep 8, 2019 · 3 comments · Fixed by #1998

Comments

@diachedelic
Copy link
Contributor

diachedelic commented Sep 8, 2019

Description of the problem:

A <pwa-toast> element is added to the DOM, but is not made visible or filled with text. Am I expected to install a pwa-toast web component or something? I am not using Ionic, just plain Capacitor.

See https://github.com/ionic-team/capacitor/blob/master/core/src/web/toast.ts

Affected platform

  • Android
  • iOS
  • electron
  • web

OS of the development machine

  • Windows
  • macOS
  • linux

Capacitor version: 1.2.0

Steps to reproduce:

use Toast.show({ text: 'hello' }) in the browser

@diachedelic
Copy link
Contributor Author

image

@jcesarmobile
Copy link
Member

Yeah, some plugins such as Camera and Toast require to install PWA Elements to work.
Added a note on #1998

@ionitron-bot
Copy link

ionitron-bot bot commented Nov 14, 2022

Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Capacitor, please create a new issue and ensure the template is fully filled out.

@ionitron-bot ionitron-bot bot locked and limited conversation to collaborators Nov 14, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants