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
Getting this error when running the demo page with Internet Explorer 11 (demo page: http://bluekit.blueberry.io/demo). Click on any element in the sidebar to reproduce what you can see below:
On the demo site my debugger claims both area and pickerButton are undefined, but in the app I'm developing on my own, both of these are defined, and pickerButton seems to be an SVG element, which may be the trouble. IE has supported Node.prototype.contains since IE 5: https://developer.mozilla.org/en-US/docs/Web/API/Node/contains#Browser_compatibility
Thanks in advance!
EDIT: Looks like it is related to pickerButton being an SVGElement. You can try this in your console on IE11 (while running the demo page linked to above): document.querySelector('svg').contains, which returns undefined. Try the same in Chrome and it returns the native contains function.
The text was updated successfully, but these errors were encountered:
Thanks for the quick reply. No worries, but it would be handy to have a disclaimer in the readme somewhere. Some folks still have users running on IE11 (out of our control), and it would be handy to see browser support right on the readme, so they can better evaluate whether to use BlueKit.
Getting this error when running the demo page with Internet Explorer 11 (demo page: http://bluekit.blueberry.io/demo). Click on any element in the sidebar to reproduce what you can see below:
It's pointing to this line of code:
react-bluekit/src/app/component/PropsSidebar.react.js
Line 157 in c81e3af
On the demo site my debugger claims both
area
andpickerButton
are undefined, but in the app I'm developing on my own, both of these are defined, andpickerButton
seems to be an SVG element, which may be the trouble. IE has supportedNode.prototype.contains
since IE 5: https://developer.mozilla.org/en-US/docs/Web/API/Node/contains#Browser_compatibilityThanks in advance!
EDIT: Looks like it is related to
pickerButton
being an SVGElement. You can try this in your console on IE11 (while running the demo page linked to above):document.querySelector('svg').contains
, which returnsundefined
. Try the same in Chrome and it returns the nativecontains
function.The text was updated successfully, but these errors were encountered: