• 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
..
AddLiquidity Loading commit data...
AddLiquidityV2 Loading commit data...
Earn Loading commit data...
MigrateV2 Loading commit data...
Pool Loading commit data...
PoolFinder Loading commit data...
RemoveLiquidity Loading commit data...
Swap Loading commit data...
Vote Loading commit data...
App.tsx Loading commit data...
AppBody.tsx Loading commit data...
styled.tsx Loading commit data...