Giter Club home page Giter Club logo

Comments (7)

hbstone avatar hbstone commented on September 21, 2024

I applied it to another element (search box in the top right) and it seems to work fine without user interaction.

from pie.

lojjic avatar lojjic commented on September 21, 2024

Thanks for the bug report. I can verify the problem occurs. Not sure why it's happening.

Would you be willing to try putting together a minimal testcase?

from pie.

hbstone avatar hbstone commented on September 21, 2024

I'll give it a shot, sure.

from pie.

hbstone avatar hbstone commented on September 21, 2024

Copied only those two elements and their related CSS to http://arguments.callee.info/sandbox/pie/

It's not completely minimal, there's some CSS I could pull out (colors etc) but should be a lot easier than wading through the live site. Let me know if you do need me to start pulling stuff out of the remaining CSS, I can do that tonight.

from pie.

lojjic avatar lojjic commented on September 21, 2024

Commit http://github.com/lojjic/PIE/commit/ca4e5b25337c55401952d97272517ea2a5ec7522

I'm still not totally clear why this particular testcase was failing. It seems that in rare cases, the initial script execution happens before the element's readyState is complete, but its oncontentready event doesn't fire. Adding a listener for ondocumentready as a last-ditch effort seems to get around it.

from pie.

alanpolhoatzin avatar alanpolhoatzin commented on September 21, 2024

Hello, I tried the ondocumentready fix but it does not work for me :( any suggestions??? Thanks!!!

from pie.

lojjic avatar lojjic commented on September 21, 2024

@alanpolhoatzin: Can you provide a testcase that shows the failure you're seeing?

from pie.

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.