• Justin Domingue's avatar
    Fix NFT SVG performance issue in browser (#1509) · 251d7c0b
    Justin Domingue authored
    * only animate NFT SVG on hover by using a canvas
    
    * handle high dpis
    
    * animation transition between canvas and img
    
    * set start state to not animated
    
    * removed animations that were causing issues on Firefox
    
    * simplify code
    
    * remove debugger statement
    
    * remove useEffect in favor of an event handler
    
    * hide canvas without unmounting to avoid blinking
    
    * fix lint error
    
    * fix flicker on hover by leaving canvas always visible
    
    * add comment about z-index
    Co-authored-by: default avatarJustin Domingue <domingue.justin@gmail.com>
    251d7c0b
Name
Last commit
Last update
..
abis Loading commit data...
assets Loading commit data...
components Loading commit data...
connectors Loading commit data...
constants Loading commit data...
hooks Loading commit data...
pages Loading commit data...
state Loading commit data...
theme Loading commit data...
types Loading commit data...
utils Loading commit data...
i18n.ts Loading commit data...
index.tsx Loading commit data...
react-app-env.d.ts Loading commit data...
service-worker.ts Loading commit data...
serviceWorkerRegistration.ts Loading commit data...