Giter VIP home page Giter VIP logo

Comments (9)

threepointone avatar threepointone commented on September 13, 2024 1

I'll take a look later today, thanks!

from glamor.

threepointone avatar threepointone commented on September 13, 2024

this is a really weird bug :|

from glamor.

techniq avatar techniq commented on September 13, 2024

So you were able to reproduce it yourself?

On Fri, Aug 19, 2016, 12:55 PM Sunil Pai [email protected] wrote:

this is a really weird bug :|


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#20 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAK1RIx1p7-Lutykn2GOjvuHgylRsWLAks5qhd_0gaJpZM4Jhb6U
.

from glamor.

threepointone avatar threepointone commented on September 13, 2024

yes. it's only on chrome. and I don't even need to resize, just hovering it triggers the bug. and the bug goes away if I use devtools 'toggle element state' to add/remove hover state. soooo weird. I have no code that runs etc. I'm investigating more.

from glamor.

threepointone avatar threepointone commented on September 13, 2024

I was able to isolate and reproduce this issue without glamor

https://codepen.io/threepointone/pen/OXGwRg

I'll submit a bug to codepen and close this issue when I hear from them.

from glamor.

threepointone avatar threepointone commented on September 13, 2024

further investigation reveals it's a bug for chrome in general :| this much is enough to trigger it.

<!DOCTYPE html>
<html>
<head>
  <style type="text/css">
    [data-abc]:hover { background-color: red; }
    @media (max-width: 600px) { 
      [data-xyz] { background-color: red; }
    }
  </style>
</head>
<body>
  <div>
    <div data-abc>one</div>
    <div data-xyz>two</div>
  </div>
</body>
</html>

filed chrome bug here - https://bugs.chromium.org/p/chromium/issues/detail?id=639561

from glamor.

techniq avatar techniq commented on September 13, 2024

Nice work on tracking down the root issue. Hopefully the Chrome team resolves it quickly.

from glamor.

threepointone avatar threepointone commented on September 13, 2024

good news! I figured out a workaround, published a new version. if you update your codepen to point to 2.6.2, the bug should be resolved. lemme know, and I'll close this issue.

from glamor.

techniq avatar techniq commented on September 13, 2024

I've updated my codepen example to use 2.6.2 with the Chrome workaround and I'm unable to reproduce the bug again. Thanks. I'll go ahead and close this issue.

from glamor.

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.