medialize / ally.js

JavaScript library to help modern web applications with accessibility concerns
http://allyjs.io/
MIT License
1.53k stars 83 forks source link

Cannot read property '0' of null in detect-focus #179

Open JulianneZech opened 2 years ago

JulianneZech commented 2 years ago

I'm encountering this error in my Angular project after installing the webstomp-client package. I'm not exactly sure why this package is causing a conflict, as it doesn't seem to have conflicting dependencies.

Similar issues are reported here and here, but the solutions do not work for me.

143941858-4bd5cb28-0180-4996-a86b-b484d13099b5-1

It seems like _platform is not defined on line 13 of detect-focus.js.

})(this, function (module, exports, _platform) {

I am using ally.js version 1.4.1 and platform.js version 1.3.3 on a Mac. I reported this in more detail on the platform page but I am wondering if there's something that can be done from the ally.js angle to address this.