Coder Social home page Coder Social logo

Comments (8)

technicalpickles avatar technicalpickles commented on July 17, 2024

I ran into this too, it took quite a bit of debugging since it only happens in production mode.

Maybe we could have a method like should_use_mobile_format that defaults to if is_mobile_device? && !request.xhr?. This would allow jquery mobile users, or others, override it easily in application_controller.

from mobile-fu.

ankitb avatar ankitb commented on July 17, 2024

I am hitting the exact same issue (or so I think ...). None of my pages are rendering properly on a mobile device as soon as I enable Mobile fu.

I am not sure if I understand the fix above. Is there a way to force the output stream to be set mobile without changing the underlying plugin?

Thanks

from mobile-fu.

mattg avatar mattg commented on July 17, 2024

ankitb, are you using jQuery Mobile? If not, then you have a different problem.

from mobile-fu.

ankitb avatar ankitb commented on July 17, 2024

Yes I am using jquery mobile.

from mobile-fu.

mattg avatar mattg commented on July 17, 2024

There is a way to force the output to be mobile, but it behaves differently from when it happens on its own. Are you just getting blank pages?

from mobile-fu.

jampow avatar jampow commented on July 17, 2024

I'm with the same problem, using jQuery Touch from Sencha Labs.

@mattg did u fix this like on your first post?

from mobile-fu.

mattg avatar mattg commented on July 17, 2024

I did. I've since made more modifications. I really need to make a fork.

from mobile-fu.

benlangfeld avatar benlangfeld commented on July 17, 2024

This project is abandoned. Please see the active fork at http://github.com/benlangfeld/mobile-fu. Please test with the released gem and master branch of the new home for the project, and file an issue on the other repo if you still have problems.

See #40.

from mobile-fu.

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.