You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Kogito icon becomes inaccessible after using the browser "back" in a bpmn/dmn file in the bpmn/dmn chrome-extension. Also, opening a bpmn/dmn file after the browser "back" a second Kogito icon will appear.
cant.open.kogito.mp4double.kogito.mp4
The text was updated successfully, but these errors were encountered:
As detailed above, the problem was two-fold:
Problem 1) The kogito icon was being rendered multiple times when the back button was pressed. This was happening because GitHub caches DOM structures between changes of history.
Solution 1) This has been addressed by adding a cleanup function in the utils.ts which removes any existing elements from the DOM before rendering new ones(which was already used elsewhere in the application to address this problem happening with other components).
Problem 2) The kogito icon was being rendered, but was un-interactable. This was happening due to an error where we were trying to "insertAdjacentHtml" to elements that hadn't been rendered yet.
Solution 2) Fixed by making the affected function async, and only attempt to render once the element was available. (Similar to the SingleEditorView.ts)
The Kogito icon becomes inaccessible after using the browser "back" in a bpmn/dmn file in the bpmn/dmn chrome-extension. Also, opening a bpmn/dmn file after the browser "back" a second Kogito icon will appear.
cant.open.kogito.mp4
double.kogito.mp4
The text was updated successfully, but these errors were encountered: