Mailto doesnt work in InAppBrowser

If I try to open a link with mailto in InAppBrowser it doesnt launch the mail application and closes the InAppBrowser tab.

<a href=""> some text</a>

Instead the same link with mailto in the application it works and opens the email application.

Version: @ionic-native/in-app-browser 5.22.0

Has anyone made it work? ty

Works fine here. Which OS?
Do you have <allow-intent href="mailto:*"/> in your config.xml?

Android and Ios.
Yes i have <allow-intent href="mailto:*"/>