Open pcenov opened 3 years ago
This appears to originate from Kolibri Design System
Seems to be caused by the focus grabbing listener here: https://github.com/learningequality/kolibri-design-system/blob/825c4fece27746415742b45eee3f0c4bbaa390e3/lib/KModal.vue#L221
This code is meant to help trap focus inside the modal:
Curious that sentryWrapped
is part of the infinite loop. I wonder if sentry is briefly stealing focus and triggering another check?
I checked in dev mode, where Sentry is not enabled, and the error still occurs - so I think this is just an artifact of sentry monitoring, and it is not the cause.
Is this issue still happening in Studio?
@indirectlylit Yes this is still happening on studio
Just observed this in development mode in Kolibri while on the CompletionModal.
index.vue:362 Uncaught RangeError: Maximum call stack size exceeded.
at VueComponent.focusModal (index.vue:362)
at VueComponent.focusElementTest (index.vue:385)
at VueComponent.focusModal (KModal.vue:311)
at VueComponent.focusElementTest (KModal.vue:331)
at VueComponent.focusModal (index.vue:362)
at VueComponent.focusElementTest (index.vue:385)
at VueComponent.focusModal (KModal.vue:311)
at VueComponent.focusElementTest (KModal.vue:331)
at VueComponent.focusModal (index.vue:362)
at VueComponent.focusElementTest (index.vue:385)
A hint w/ regard to replication is to go from one open modal to another per @marcellamaki
Observed behavior
Each time I attempt to publish a channel I see the following error in the Console: 'RangeError: Maximum call stack size exceeded.'
Expected behavior
There should be no errors in the console.
Errors and logs
Additional information
Steps to reproduce the issue
Usage Details