Toggle buttons in recommended filters break on fast multiple clicks

Environment

  • OS version: Ubuntu 18.04
  • Browser version: Firefox 81, Chrome 85
  • Extension version: so far tried on release-2020-1 and ABP 3.9.5
  • Last working version: TBD

Steps to reproduce

  1. Open "settings" page and "general" tab
  2. In the "Recommended Filters"/"Privacy & Security" section (name depends on release version) click multiple times in the toggle/check button of one of the list items (i.e. "Block additional tracking") at a medium speed (~ 500ms per click approx).

Observed behavior

  • After 6-18 clicks the toggle button gets stuck on "active" state.
  • In the Advanced tab > Filter List table, "Easy Privacy" list (corresponding to "Block additional tracking") doesn't appear.

Expected behavior

  • The toggle button shouldn't get stuck.
  • The Filter List table should be synced with the subscriptions that are active in "Recommended Filters" / "Privacy & Security" list.

Further information

The issue goes away after refreshing the settings page.

Update: This issue could be fixed if a loading indicator is stablished, as proposed by https://gitlab.com/eyeo/adblockplus/abpui/adblockplusui/-/issues/13.

Edited by Adilson Sandoval
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information