Coder Social home page Coder Social logo

Comments (4)

JackWReid avatar JackWReid commented on May 22, 2024

Discovered that upon forcing the height of the element with the id hook, the content within is visible on Chrome on Windows also.

from slidr.

bchanx avatar bchanx commented on May 22, 2024

Hey @JackWReid,

Does that fix the issue entirely, or are you still experiencing the console errors?
If there's still an error, could you hook up an example to jsfiddle, or provide me with the CSS you're using so I can take a look?

from slidr.

bchanx avatar bchanx commented on May 22, 2024

Hey @JackWReid,

I browsed your site a bit and noticed the console error:

[Slidr] Could not find element with id [listings]. app.js:84
Uncaught TypeError: Cannot call method 'start' of undefined

Seems like you're calling slidr.create('listings') somewhere, but don't actually have an <element id="listings"></element> anywhere in your markup - hence the failure to start(). Does that solve the issue?

from slidr.

JackWReid avatar JackWReid commented on May 22, 2024

I've cut that call out of the code (it was in preparation of another implementation elsewhere on the site), and it has cleared the console errors. However, the problem persists that Windows Chrome is failing to detect the height of the child elements in the slidr and so collapses #featured down to 0px. So in the meantime, I've lumped it with a really awkward static height.

Issue isn't reproduced on this jsfiddle which makes me think the bug is being produced by Tumblr's injections (site runs on Tumblr as a jank CMS).

from slidr.

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.