Steps to reproduce
variable = Element.closest(selector)
Example: : var targetElem = this.nodeField.closest(‘div’); // Get field’s closest containing div
The list of browsers currently supporting this “Living Standard” includes Mozilla, Chrome, and Safari on desktop, iOS, and Androids.
SCRIPT438: Object doesn’t support property or method ‘closest’
This forces me to add a conditional function prototype polyfill for “closest” to my application so that it will run successfully on MS Edge, which I would much prefer not to do.
Comments and activity
- Microsoft Edge Team
Changed Assigned To to “Ibrahim O.”
Changed Assigned To to “Travis L.”
Changed Status to “Confirmed”