Describe the bug
Scroll Function for Initiative Tracker in Mission Runner Does Not Work or Works Inconsistently
To Reproduce
Steps to reproduce the behavior:
Create an encounter with enough combatants to fill the initiative tracker in Mission Runner (tester started with over 11 combatants and worked up) and add this encounter to a mission.
Load aforementioned mission into Mission Runner.
Attempt to use scroll arrows in initiative tracker
If arrows initially work while the starting PC is highlighted, click into several other combatants and THEN attempt to use the scroll arrows.
At some point, clicking on the scroll arrow will do nothing to change the view, or else clicking will loop the view backward rather than progress in the direction indicated.
Expected behavior
Clicking on scroll arrows reliably changes the viewable portion of the initiative tracker in the direction indicated by the arrow.
Additional context
More testing needed to confirm.
Bug was reported to me by our GM using Chrome Applet on Windows 10 and 11 (two machines.)
On a Windows 11 machine, I tested encounters with 13, 14, 16, 17, 18, 19 and 20 combatants in the tracker on both Chrome and Firefox browsers. At 17 combatants and below, the arrow would always work while the tracker was on the starting PC, but would work inconsistently if another combatant was highlighted. At 19-20 combatants, the arrow NEVER worked while the starting PC was highlighted, but worked inconsistently if other combatants were clicked instead. Sometimes it would only scroll partway back to the starting point (as seen in the below screenshot where 'TURN PENDING' is cut off) and if the left arrow was clicked again at that point, the view would slide back to the right.
At 18 combatants, the behavior was different between Chrome and Firefox - the Firefox tracker would not move at all if you clicked the arrows regardless of which combatant was higlighted, while in Chrome the starting PC and many other combatants let the arrows work with a few exceptions.
Describe the bug Scroll Function for Initiative Tracker in Mission Runner Does Not Work or Works Inconsistently
To Reproduce Steps to reproduce the behavior:
Expected behavior Clicking on scroll arrows reliably changes the viewable portion of the initiative tracker in the direction indicated by the arrow.
Screenshots![initiativetrackerbug_screenshot](https://github.com/massif-press/compcon/assets/8676720/b03da68b-b410-4480-bc3e-fa90b49eda5d)
Desktop:
Additional context More testing needed to confirm. Bug was reported to me by our GM using Chrome Applet on Windows 10 and 11 (two machines.) On a Windows 11 machine, I tested encounters with 13, 14, 16, 17, 18, 19 and 20 combatants in the tracker on both Chrome and Firefox browsers. At 17 combatants and below, the arrow would always work while the tracker was on the starting PC, but would work inconsistently if another combatant was highlighted. At 19-20 combatants, the arrow NEVER worked while the starting PC was highlighted, but worked inconsistently if other combatants were clicked instead. Sometimes it would only scroll partway back to the starting point (as seen in the below screenshot where 'TURN PENDING' is cut off) and if the left arrow was clicked again at that point, the view would slide back to the right.![image](https://github.com/massif-press/compcon/assets/8676720/206d0f6b-4ead-4332-a776-f2bdcd7f51d5)
At 18 combatants, the behavior was different between Chrome and Firefox - the Firefox tracker would not move at all if you clicked the arrows regardless of which combatant was higlighted, while in Chrome the starting PC and many other combatants let the arrows work with a few exceptions.