Page MenuHomePhabricator

popup "restarts" when we hover over the word after expanding the text
Closed, ResolvedPublic

Description

  • On chrome desktop:

Steps to Reproduce:

  1. hover over a word so the popup shows
  2. click the "continue reading" link
  3. hover over a word again

Actual Results:
the popup "restarts" and hides the expanded text

Expected Results:
the popup remains the same

Event Timeline

Jpita renamed this task from Issue on popup to popup "restarts" when we hover over the word after expanding the text.Aug 3 2020, 9:55 AM
Jpita updated the task description. (Show Details)
SBisson changed the subtype of this task from "Bug Report" to "Task".Sep 8 2020, 2:25 PM
SBisson moved this task from three to Backlog on the Wikipedia-Preview (Mobile-Prototype) board.
SBisson subscribed.

This bug is causing the 3rd party hooks to misbehave. I need to fix it.

SBisson moved this task from Backlog to Dev on the Inuka-Team (Kanban) board.

there's an issue on this branch:
sometimes (random, can't figure out when exactly it happens), when we first hover over a word, the popup is not fully loaded but the app is not waiting for any call.
it seems that is missing a second call (image) after the first one (API).

firstPopUpLoadsecondPopupLoad
firstPopUpLoad.jpg (1×2 px, 174 KB)
secondPopupLoad.jpg (1×2 px, 331 KB)

if you can't replicate it just ignore it since it seems to be either intermittent or random (but I've seen it happen more than 10 times).

@Jpita I will investigate the issue above as soon as I can. Let's not merge this PR until we know what's going on.

@Jpita I was able to replicate the issue pretty often. I push a new commit on the branch, please test it as hard as you can. Thanks!