Navigation

    Monaca & Onsen UI
    • Login
    • Search
    • Tags
    • Users
    • Blog
    • Playground
    1. Home
    2. Takis
    • Flag Profile
    • Profile
    • Following
    • Followers
    • Blocks
    • Topics
    • Posts
    • Best
    • Groups
    Save
    Saving

    Takis

    @Takis

    0
    Reputation
    3
    Posts
    95
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online
    Location Athens Greece

    Takis Follow

    Posts made by Takis

    • RE: Blank bottom space on iPhone XS after Cordova 10 update

      Dear emccorson Thanks for your answer.

      The screen issue on iPhone X in WKWebView already existed in Cordova 9, but it has not been fixed and it also exists in Cordova 10.

      The problem temporary fixed if the app is down to the taskbar and reopened.
      But if the app is completely closed by the taskbar and reopened, the issue returns.

      After much searching I have found if it is added to the style -the following code- then the issue is fixed… but this is something temporary…

      <style>
      html, body {
        width: 100vw;
        height: 100vh;
      }
      </style>
      
      posted in Monaca Tools
      Takis
    • RE: Blank bottom space on iPhone XS after Cordova 10 update

      Dear Ogunm
      Thank you very much for replay.

      I tried to enter the code you suggested, but the problem is not solved.
      I get the following error:
      TypeError: is not a function. (In ‘$ (’ body ‘)’, ‘$’ is undefined)

      same problem on the pure javascript (document.body.style.height= window.screen.availHeight;)

      I use JavaScript Monaca Templates (Onsen UI V2 JS Navigation & Splitter)

      P.S. i dont use jquery…
      if i have to use jquery to resolve the issue, which version should i?

      Thank you again

      …My Script…

        <script>
          ons.ready(function() {
      $('body').height(window.screen.availHeight);
            console.log("Onsen UI is ready!");
          });
      
          window.fn = {};
          window.fn.open = function() {
            var menu = document.getElementById('menu');
            menu.open();
          };
          window.fn.load = function(page) {
            var content = document.getElementById('content');
            var menu = document.getElementById('menu');
            content
              .load(page)
              .then(menu.close.bind(menu));
          };
      
          if (ons.platform.isIPhoneX()) {
            document.documentElement.setAttribute('onsflag-iphonex-portrait', '');
            document.documentElement.setAttribute('onsflag-iphonex-landscape', '');
          }
        </script>
      
      posted in Monaca Tools
      Takis
    • Blank bottom space on iPhone XS after Cordova 10 update

      Hello all,

      1. after Cordova 10 update, have screen view issues on iPhone XS, o Blank bar appears on bottom of page

      How can fix this?

      0_1605895117357_IMG_0727.PNG

      1. on the MonacaLocalKit got the following message
        How can update my Apps on the new Cordova version?

      0_1605895128622_IMG_0725.PNG

      extra Enabled Plugins:
      Cordova-plugin-email-composer
      InAppBrowser

      also the SplashScreenDelay not working
      <preference name=“SplashScreenDelay” value=“7000”/>

      Thank you
      Takis

      posted in Monaca Tools
      Takis