DEV Community


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

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)
dailydevtips1 profile image
Chris Bongers Author

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