Page MenuHomePhabricator

[tablet/desktop] Minerva search bar blurs text and moves/shrinks slightly when focussed
Open, Needs TriagePublic

Description

  1. Open https://en.m.wikipedia.org/wiki/Main_Page
  2. Look at search bar.
  3. Click/Focus it.

Upon focussing, an odd sequence commences:

  • The text and magnify icon become blurred. This is a side-effect of the whole page fading out. The fade-out makes sense for the page content (which fades "away"), but less so for the search bar itself which is not meant to go away but immediately comes back in faded form.
  • The search box shrinks. This appears to be a side-effect of the blue border applying to the inside of the box, instead of to the outside of the box. This might be due to the border width not being transparently reserved ahead of time, or due to incorrect box-modeluse.
  • The magnify icon moves to the right.
  • The placeholder text moves down and to the right, possibly also shrinking a littte, or maybe it just looks that way.

I found this experience nausiating and actually hurting my eyes. (Not in euphemism sense of design likability but literally: it hurts my eyes, as someone sensitive to bright screens and blurred/moving text).

Kapture2.gif (224×805 px, 216 KB)

Event Timeline

It seems to shrink significantly now. It's half the size when focussed.

I also noticed that the size of the search field changes when it's tapped on tablet-size screens. Is this expected? As seen at https://m.mediawiki.org/wiki/MediaWiki:

image.png (2×3 px, 1 MB)
image.png (2×3 px, 127 KB)
Jdlrobson renamed this task from Minerva search bar blurs text and moves/shrinks slightly when focussed to [tablet/desktop] Minerva search bar blurs text and moves/shrinks slightly when focussed.Sep 29 2021, 8:26 PM

Change 735680 had a related patch set uploaded (by Jdlrobson; author: Bernard Wang):

[mediawiki/skins/MinervaNeue@master] Update search overlay to be aligned with the heading searchbox on all screen sizes

https://gerrit.wikimedia.org/r/735680

Change 735680 abandoned by Bernard Wang:

[mediawiki/skins/MinervaNeue@master] Update search overlay to be aligned with the heading searchbox on all screen sizes

Reason:

squashed into https://gerrit.wikimedia.org/r/c/mediawiki/skins/MinervaNeue/+/735459

https://gerrit.wikimedia.org/r/735680

Change 735459 had a related patch set uploaded (by Jdlrobson; author: Bernard Wang):

[mediawiki/skins/MinervaNeue@master] Refactor Minerva header to use flexbox

https://gerrit.wikimedia.org/r/735459