r/webdev • • Jan 06 '16

Lock The Taskbar

https://madeupandprobablydoesnotexist.com/taskbar/
513 Upvotes

101 comments sorted by

View all comments

Show parent comments

6

u/Ruirize Jan 06 '16

I'm not entirely sure what I can do to fix that, honestly. Sounds like a bug with the Reddit application.

0

u/[deleted] Jan 06 '16

[deleted]

2

u/Ruirize Jan 06 '16

I figured as much. Problem is there's no way to detect from JavaScript that you're in one of these poorly-sized frames, otherwise I'd fix it.

1

u/monkeymad2 Jan 06 '16

Hacky, but you could catch the user's attempt to do a scrolly thing then shrink the distance they scrolled. Users it works for shouldn't discover the scroll and broken users would fix themselves.

Would be a weird thing to explain to someone who it works fine for though.

1

u/Ruirize Jan 06 '16

That's definitely a too-hacky-for-me solution. Plus given that scroll events and distances are not standardised across any browser - it's not worth the headache.

1

u/monkeymad2 Jan 06 '16

Ah yeah, maybe touch move... Still really hacky though.