Pablo-WMDE created this task.
Pablo-WMDE added a project: Wikidata-Bridge.
Restricted Application added a subscriber: Aklapper.
Restricted Application added a project: Wikidata.

TASK DESCRIPTION
  Actual behavior
  ---------------
  
    GIVEN I am on an article page with bridge-enabled links
    WHEN  I click a bridge-enabled link repeatedly (real quick) on an 
under-powered device
    THEN  multiple instances of bridge open "on top of each other"
  
  F31686775: Bildschirmfoto von 2020-03-17 11-42-45.png 
<https://phabricator.wikimedia.org/F31686775>
  
  Expected behavior
  -----------------
  
    GIVEN I am on an article page with bridge-enabled links
    WHEN  I click a bridge-enabled link repeatedly on any device
    THEN  only one bridge instance opens
  
  
  
  Notes
  -----
  
  Does not usually happen on my device but happened during a resource-intense 
video hangout and can reliably be reproduced using chrome's CPU throttling (6x).
  We tried to address this before (`isOpening` in `init.ts`) but it does not 
seem to cut it. Maybe we have to go with the `once` option 
<https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener#Parameters>
 instead and reattach the event listener later.

TASK DETAIL
  https://phabricator.wikimedia.org/T247822

WORKBOARD
  https://phabricator.wikimedia.org/project/board/4074/

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Pablo-WMDE
Cc: Aklapper, Pablo-WMDE, Sarai-WMDE, darthmon_wmde, Michael, Nandana, Lahi, 
Gq86, GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, 
Wikidata-bugs, aude, Lydia_Pintscher, Mbch331
_______________________________________________
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to