ポップアップのテキストとアイコンは、特定の Android デバイスでは表示されません。これが何が起こるかを示すビデオです。
これは、デスクトップまたは iOS では発生しません。
私のサイトの頭にある私のコードは次のとおりです。
<script>
setTimeout(function(){
swal({
title: "How can we help?",
text: "Do you need to sell your house?",
type: "info",
animation: true,
showCancelButton: true,
confirmButtonText: "Yes",
cancelButtonText: "No",
closeOnConfirm: false,
closeOnCancel: false },
function(isConfirm){
if (isConfirm) {
swal({
title: "We can help!",
text: "We have all the information you need, ready to see it?",
type: "success",
confirmButtonText: "Show me!",
cancelButtonText: "No thanks"
},
function(){
window.location.href = '/sell-your-house/';
});
}
else {
swal({
title: "That's okay!",
text: "We'll be here when you need us!",
type: "error",
confirmButtonText: "Back to Browsing",
});
}
});
}, 5000);
</script>
私はアニメーション「上からスライド」を使用していて、「真」に変更しようとしましたが、それは役に立ちませんでした。また、「false」を試し、「animation:」という行を除外しました。
ポップアップの直前にスクロールを防止すると役立つと思いますが、その方法もわかりません。また、それはハックのように感じられ、真の解決策ではありません...
何か案は?
ありがとう!デイブ