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
In the new generator-addin, instead of creating a root element with the add-in name, it creates a root element with an id of 'app'. It automatically adds code like elAddin = document.getElementById('app').
This works fine in MyGeotab, but when creating a Geotab Drive add-in, the Drive app already uses an 'app' id which is above our add-in in the DOM tree, and it produces this structure :
This is a problem in and of itself to have 2 identical IDs in the DOM, and gets worse because on blur the scaffolded code hides elAddin, which hides the entire Drive app UI instead of just our add-in content.
Is there a reason why the new generator uses id='app' instead of relying on the root add-in element like previous versions did? Is it supported for us to change this main element ID in our Drive add-ins, or are you relying on it being identified 'app'?
The text was updated successfully, but these errors were encountered:
In the new generator-addin, instead of creating a root element with the add-in name, it creates a root element with an id of 'app'. It automatically adds code like elAddin = document.getElementById('app').
This works fine in MyGeotab, but when creating a Geotab Drive add-in, the Drive app already uses an 'app' id which is above our add-in in the DOM tree, and it produces this structure :
This is a problem in and of itself to have 2 identical IDs in the DOM, and gets worse because on blur the scaffolded code hides elAddin, which hides the entire Drive app UI instead of just our add-in content.
Is there a reason why the new generator uses id='app' instead of relying on the root add-in element like previous versions did? Is it supported for us to change this main element ID in our Drive add-ins, or are you relying on it being identified 'app'?
The text was updated successfully, but these errors were encountered: