Skip to content
This repository has been archived by the owner on Mar 26, 2019. It is now read-only.

ChoiceGroup Component Crashes on Click-event in Internet Explorer #171

Closed
echoworxdev opened this issue Oct 31, 2016 · 9 comments
Closed

Comments

@echoworxdev
Copy link

Hi there,
I am using OfficeUIFabric Core 4.1.0 with with OfficeUIFabricJS 1.1.0 for building an Office365 add-in.
The application crashes on the "click event" in the IE 11 browser with the following message:
Error: Object doesn't support this action

choicegroup

On debugging I figured it was crashing at following line of Fabric.js:
this._choiceField.dispatchEvent(new CustomEvent("msChoicefield", objDict));

After further diligence I found several discussions and also, this link, that says CustomeEvemt isn't support by Internet Explorer
https://developer.mozilla.org/en/docs/Web/API/CustomEvent

Kindly help
Thanks

@ericthompson ericthompson assigned leddie24 and unassigned leddie24 Nov 3, 2016
@ericthompson
Copy link
Contributor

Thanks, @echoworxdev for finding this. We'll take a look and find a patch for it asap.

@echoworxdev
Copy link
Author

Hi there,
Thanks for the fix. It's no longer crashing.
Though I still can't work the click/change event unless the id is associated with the label.
Seems, similar to the Checkbox click issue #168

Kindly look into it on urgent basis

Thanks

@echoworxdev
Copy link
Author

Hi Eric,
Thanks for resolving the crashing issue. However, we still have some issues with the click event.
I have updated the same issue link with additional information. Please look into it and resolve on urgent basis.
Thanks
-Vipul

From: Eric Thompson [mailto:[email protected]]
Sent: November 3, 2016 5:30 PM
To: OfficeDev/office-ui-fabric-js [email protected]
Cc: Vipul Mishra [email protected]; Mention [email protected]
Subject: Re: [OfficeDev/office-ui-fabric-js] ChoiceGroup Component Crashes on Click-event in Internet Explorer (#171)

Thanks, @echoworxdevhttps://github.com/echoworxdev for finding this. We'll take a look and find a patch for it asap.


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com//issues/171#issuecomment-258279790, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AWGeZnn5XqB66ezOFne2zTrYWPpSnJ1dks5q6lI-gaJpZM4KlUVq.

@ericthompson
Copy link
Contributor

Can you try this with JS 1.2.0 and Core 4.0.0?

@echoworxdev
Copy link
Author

Hi Eric,
I tried with Core 4.0.0. Still won't trigger.

@ericthompson
Copy link
Contributor

Core is likely not the culprit as it does not cover the components - were you trying with Fabric JS 1.2.0?

@echoworxdev
Copy link
Author

Thanks for the quick response.
Yes, I am trying with JS 1.2.0

@ericthompson
Copy link
Contributor

Hmmm... Thanks for trying it out. We'll look into it!

@Linda-Editor
Copy link
Contributor

Microsoft no longer supports this content and will not be responding to bugs or issues. We recommend that you use the newer version, Office UI Fabric, with React as your front-end framework. We are closing this issue; if you still need assistance with Fabric.js, visit Stack Overflow/office-ui-fabric.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants