DEV Community

loading...

Discussion on: Double-click to like Instagram effect in JavaScript ❤️

Collapse
ptkdev profile image
Patryk Rzucidło • Edited

My 2 cents:

  • Double click on image work but randomly (you need be very fast on desktop)
  • Add user-select: none css (prevent selecting text/image)
Collapse
dailydevtips1 profile image
Chris Bongers Author

Ah good one, should actually add user-select, somehow thought I did already.