Symptom
When mousing over buttons, the following error appears in the console log
Uncaught TypeError: Element.closestTo accepts either a DOM element or a CSS selector string as parameter, but not '[object HTMLSpanElement]'
at d.closestTo (appruntime-min-0.js:409:12760)
at _._handleEvent (appruntime-min-1.js:31:8061)
at HTMLBodyElement.dispatch (appruntime-min-1.js:535:41411)
at y.handle (appruntime-min-1.js:535:39233)
This only occurs in Chrome/Edge. Firefox and Safari do not exhibit the issue.
Read more...
Environment
- SAP UI5
- Chrome or Edge Browsers
- SAP Companion is present
Product
Keywords
chrome edge Uncaught TypeError Element.closestTo DOM element CSS selector '[object HTMLSpanElement]'
, KBA , KM-SEN-CMP , SAP Companion former known as Web Assistant , CA-UI5-COR , Core and Runtime , Known Error
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.
SAP Knowledge Base Article - Preview