Multi-check functionality only works forward and not backwards #979
Labels
[Status] In Progress
Tracking issues with work in progress
[Type] Bug
An existing feature is broken.
Milestone
Hello,
The multi-select function of checkboxes only works going down the page and not back up. By the multi-select function I speak on when you check a checkbox and then skip a few rows and check another checkbox then all checkboxes in between become checked. The code for this;
https://github.com/GlotPress/GlotPress-WP/blob/43bb5383e114835b09fc47c727d06e6d3ca8114e/assets/js/translations-page.js#L47-L68
This only works from top to bottom, it would be nice if it worked in reverse as well so if you check a box low in the page and then go up and check another then all boxes in between get checked.
How it functions going down the page;
![Multi-Check Downwards](https://camo.githubusercontent.com/d87b04a9efdbd85ec77e3cf7a3796f5ea15cc2b01442b186d6fb83c9a624c5c9/68747470733a2f2f692e6779617a6f2e636f6d2f37616265383461383066356239656638303234336236633361343534316438662e676966)
Going in reverse this illustrates how it doesn't check the boxes in between;
![Failed Multi-Check Upwards](https://camo.githubusercontent.com/9bc72f2eed56d8e15158bcc097bd3d9f262fdf590fbeafb700f1a8357f53f828/68747470733a2f2f692e6779617a6f2e636f6d2f35623162353437393963386431616365356130643339356237346665386635352e676966)
Hope that makes sense,
Cheers
The text was updated successfully, but these errors were encountered: