3 ms·
My hilarious front-end bug: As a junior developer, I was implementing a slider with some fancy features - I'd completed my work of art and tested it thoroughly
by sdflhasjd 6y ago
My hilarious front-end bug: As a junior developer, I was implementing a slider with some fancy features - I'd completed my work of art and tested it thoroughly (or so I thought).
As I'm demonstrating this pièce de résistance of sliders, I switched to the tablet to show how it adapts to touch input.
After I've gone through all the features I slip with my finger and drag the handle a little too harshly... to my confusion, the drag handle had broken free of its confines and could now be moved anywhere one the page, all I could do is laugh, I'm glad my colleague found it equally amusing.
Also, the number of times I've seen bugs like No. 3 on big, live sites. Clearly a macbook monoculture and noone bothering to test on any other platforms. Seems like people forget scroll wheels are a thing too...
- wiredfool 6y agoI want a browser extension that changes the size of the window a bit for every reload/refresh when in dev mode, so that devs no longer get the "works on my machine full screen" size by default. I work around using responsive dev tools, with a few predefined sizes, but that's less automatic.
- agustif 6y agoResponsivelyApp works nicely for this.
- SamBam 6y ago> After I've gone through all the features I slip with my finger and drag the handle a little too harshly... It's amazing how many bugs are hidden because we developers subconsciously interact with our apps in ways to prevent them from breaking. We're not deliberately trying to do it, but we instinctively know that if, say, we drag the handle too hard it might not react appropriately, or if we click the button while the script is still loading it might do the wrong thing, or whatever it is. This is why we have QA. In many ways this is similar to authors who need a fresh pair of eyes to see all the typos and other errors.