Giter Site home page Giter Site logo

Configuration detection about skel HOT 2 CLOSED

ajlkn avatar ajlkn commented on August 29, 2024
Configuration detection

from skel.

Comments (2)

mfread avatar mfread commented on August 29, 2024

Could you not change your width rule (in config) to say 660?

ie. mobile: { range: '-660' }

On Thu, Jan 30, 2014 at 8:40 AM, bm322 [email protected] wrote:

I'm having an issue with firefox [v24] but I don't think it's version
specific.

I'm testing a mobile vs desktop config. I get the page into mobile mode,
<= 640px. I load a new page expecting to stay in mobile mode, but it jumps
back into desktop mode.

I added a few logging statements and narrowed it down to getViewportWidth.
The issue is the vertical scroll bar as far as I can see.

With the exact same browser widths, IE reports a width of 640, but FF says
657.

I am assuming IE calcs the scrollbar width included with the 640, but FF
adds it to the width.

Am I correct? Is there a fix for this?

In my testing I get the window to 640px to get mobile mode, load a page
and it kicks back to desktop mode [657px width]. I move 1 px and get dumped
back to mobile.

I don't get a consistent FF mobile mode unless I get the window to <
623px. Once in the mobile, I'm good until I get > 640, but a width 623-640
toggles between mobile/desktop when refreshing.


Reply to this email directly or view it on GitHubhttps://github.com//issues/36
.

from skel.

ajlkn avatar ajlkn commented on August 29, 2024

FF is my primary browser and I haven't run into that before. Is the page zoomed out a bit or something?

from skel.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.