Skip to content
This repository has been archived by the owner on Jan 1, 2024. It is now read-only.

In Chrome/Brave and using Gatsby Mail link won't open #57

Open
exocode opened this issue Aug 5, 2020 · 3 comments
Open

In Chrome/Brave and using Gatsby Mail link won't open #57

exocode opened this issue Aug 5, 2020 · 3 comments
Labels
bug Something isn't working

Comments

@exocode
Copy link

exocode commented Aug 5, 2020

I am using most recent Gatsby and Chrome browser. I copy/pasted the demo snippets into my app, as well the config from the docs. Live and Gmail works as expected, but the regular mail, won't.

gatsby-config

    {
      resolve: `gatsby-plugin-mailgo`,
      options: {
        mailgoConfig: {
          dark: true,
        },
      },
    },

in your site put any Mail example from here: https://codepen.io/manzinello/pen/RmeQEr

  <a href="mailto:[email protected]">[email protected]</a>
      <br/><br/>
        Just a <code>tel</code> link (with <strong>mailgo</strong>, just importing the script)
      </p>
      <a href="tel:1234567890" data-telegram="telegram">+39 123456789</a>

(Any popup blocker or similar is deactivated)

You can also try your examples too, they do not work: https://codepen.io/manzinello/pen/RmeQEr

@manzinello manzinello added the bug Something isn't working label Aug 5, 2020
@manzinello
Copy link
Owner

Hi, thank you for your issue.

I want to understand better: the problem is just with Gatsby and Chrome or everywhere? The examples I have written in https://codepen.io/manzinello/pen/RmeQEr are working for me. I use also mailgo plugin on Gatsby and I have no problem, and I want to know what is happening. The behaviour if open default is the same of clic on a mailto link without mailgo, maybe is this a problem with the mailto: links handling? If you clic on a mailto without mailgo everything works correctly (so the default client is opened)?

What do you mean with they do not work? Nothing happens? Errors in console?

I've also tested mailgo with Brave, I have maybe to test more in deep on this browser.

Thank you so much.

@exocode
Copy link
Author

exocode commented Aug 6, 2020

Funny enough: If I click on "open default" in Safari it jumps to Brave (respective Chrome), depending on my default browser. Same happens with Firefox (jumps to Brave). Without opening a new window or similar. No error in console, nothing. Normally "Apple Mail" (is an native app) opens.

@manzinello
Copy link
Owner

Thank you for the details, really strange behaviour: I have to make more tests and maybe I have to work more on the open default, changing it a little bit to have it identical to a clic on a mailto: without mailgo.

Thank you so much for your report.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants