Турция и Москва · фактыTurkey & Moscow

Ползунки: тянется ближайший бегунокSliders: the nearest thumb moves

· Открыть на сайтеOpen on the site

ЦельGoal

Инвестор сужает цену или площадь ползунком: берёт пальцем или мышью кружок «от» или «до» и двигает именно его, даже когда кружки стоят рядом или на одном делении.An investor narrows the price or area with the slider: takes the «from» or «to» ring with a finger or the mouse and moves exactly that ring, even when the rings stand side by side or on the same step.

ЗадачаProblem

Когда оба кружка стояли на одном делении, они двигались только вместе: например, сдвинув «от» до правого края, развести их обратно пальцем или мышью было нельзя — диапазон схлопывался в одно деление и «Ничего не найдено». На телефоне зоны нажатия 44 px у соседних делений (шаг около 16 px) перекрываются, и касание кружка «от» рядом с «до» брало «до», который толкал «от» за собой.When both rings stood on the same step they moved only together: for example, after dragging «from» to the right end, they could not be pulled apart again with a finger or the mouse — the range collapsed into one step and showed «Nothing found». On a phone the 44 px tap zones of neighbouring steps (about 16 px apart) overlap, so touching the «from» ring next to «to» took «to», which pushed «from» along.

Как решилиHow it was solved

До и послеBefore and after

До: оба кружка цены у правого края, тянем пальцем влево — уезжают вместе, «от … до …» одно и то же, «Ничего не найдено» / Before: both price rings at the right end, dragged left with a finger — they move together, «from» and «to» are the same, «Nothing found»
До: оба кружка цены у правого края, тянем пальцем влево — уезжают вместе, «от … до …» одно и то же, «Ничего не найдено»Before: both price rings at the right end, dragged left with a finger — they move together, «from» and «to» are the same, «Nothing found»
После: то же движение сдвигает только «от», «до» остаётся у края / After: the same move shifts only «from», «to» stays at the end
После: то же движение сдвигает только «от», «до» остаётся у краяAfter: the same move shifts only «from», «to» stays at the end