Page MenuHomePhabricator

In a section, scrolling shouldn't remove the focus from that section
Closed, ResolvedPublic

Description

When going to "Worldwide" and then scrolling, the focus will automatically shifted to another area, depending on your position in the view. This is nice, but it shouldn't remove the blue focus from "Worldwide" and perhaps focus the other area in another colour instead.


Version: unspecified
Severity: normal

Details

Reference
bz39222

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 1:08 AM
bzimport set Reference to bz39222.

This also happens with Asia and Europe, apparently only the Americas are immune from scrolling side-effects. Scrolling to the bottom of the div and then back to the top will switch the region twice. In any case, confirmed.

As suggested in bug #38696 , when reaching the end of a region you'll be able to to see results from the next regions. If that behavior is applied, the map jumping to the next section would make sense.

Pau's design suggestion is implemented now. Scrolling down the language list (lazy) loads next regions, and map highlight is synchronized with the language list in the view. Scrolling up exactly stop at the clicked region.

Pau, please confirm this.

It works in general, but I found a pair of strange behaviors related to focus and regions:

A) I select Europe and scroll down the list a bit. Then, select Asia and the "Worldwide" region is highlighted.

B) I select any region, scroll down a bit. Then, I scroll up to the top of the region and "Worldwide" is highlighted.