Support » Plugin: Loader: Preloader, Smooth Scrolling and User Experience Booster » vh and vw on mobile browser issue

  • Resolved slr1979

    (@slr1979)


    Hi

    Firstly fantastic plugin. I have noticed that 100vh and 100vw for the .bbpreloading style is not compatible on mobile browsers and results in a background that does not fill the entire viewport.

    I have been able to easily rectify this by overriding the class in ny stylesheet with the below but thought I should let you know, in case this is something you wish to address.

    .bbpreloading {
    height: 100% !important;
    width: 100% !important;
    }

    Please do let me know if there is a reason that I should not use the above modification. 🙂

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author BroadBrander

    (@broadbrander)

    @slr1979, first of all, thanks for using Loader. I guess almost all browsers support vw and vh except opera mini. Which browser are you using on phone, is it the latest version?

    You can check the browser support here.

    And the percentage unit works fine in most cases but sometimes it doesn’t covers hole screen.

    Thank for the reply

    I am using latest versions of Chrome/Google browser on a Samsung S10. I think I will stick with percentage unit as on my available test devices and website it seems to work best.

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.