themotte / rDrama

This code runs https://www.themotte.org. Forked from https://github.com/Aevann1/rDrama
GNU Affero General Public License v3.0
25 stars 30 forks source link

Evaluate +/- size on mobile #649

Open zorbathut opened 1 year ago

zorbathut commented 1 year ago

I think on mobile the "+" and "-" symbols to expand/collapse a child thread should be bigger. A lot of times when I try to hit those I miss and accidentally collapse the top level thread instead.

--

Might just be that the symbols should remain the same size but the hit area should be boosted.

If you're someone who isn't me working on this, please attach some screenshots :)

justcool393 commented 1 year ago

image here's a screenshot from Firefox pretending to be an S10.

image attached here is the hitboxes. it does look like they're quite tiny on mobile.

in a deeper subthread here's what it looks like

image

the vertical space needed to hit the collapse thing on the correct subthread is quite small and it is quite easy to overshoot

zorbathut commented 1 year ago

Ah, hrm. Now I'm remembering part of the problem; I need a narrow space to avoid shoving everything over to the side all the time, but I also wanted the ability to be able to touch the bar to collapse, which is something desktop has.

(this theme seems to have invisible bars)

It's possible those are just not compatible and I should be de-touch-sensitivity'ing the bars on mobile, then making the -/+ hitbox wider horizontally.

justcool393 commented 1 year ago

image example from TheMotte theme

but yeah it seems that maybe detouchsenstifying the bars themselves might be a good idea. which ironically makes the actual hitbox smaller but it'd probably be less annoying