Problem is caused by events responsible for handling xAPI data.
Problematic file is:
https://git.drupalcode.org/project/opigno_module/-/blob/3.2.8/ActivityTy...
I have Module with Activity (H5P Quiz [Question Set]) consists of 80 questions.
When i answer each question browser response grows exponentially.
The more i answer the more freeze and longer response i experience.
- Move .on('xAPI') outside and make sure itβs registered once.
- Throttle or debounce heavy functions (storeXAPIData).
- Reduce/cache repeated DOM lookups.
Needs review
3.2
User interface