hi,
It took a long time to find the problem.
I added code: page.msgbox(.....) in demo-aboutpage-connectpage
windows or android can be displayed normally. but in sarifi, see the picture I uploaded.
sorry for my poor english.
I uploaded the bas file, It's aboutpage.bas in your demo project. I just comment several line code and add "page.msgbox(.....)".
Add this little script in ConnectPage() at the top:
B4X:
Dim iOSFixScript As String = $"$('html').css('min-height', '100%');$('body').css('min-height', '100%');"$
AppPage.ws.Eval(iOSFixScript, Null)
AppPage.ws.Flush
It is because the Sweetalert grey overlay layer takes up 100% of the browser height. For some obscure reason, Safari does take the height of the body instead (which meight be 0px!). Safari used to do it correcly, but not now. So it is there, but not visible.[/code]
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.