question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

title actions produce error in IE11

See original GitHub issue

Are you requesting a feature, reporting a bug or asking a question?

Bug

What is the current behavior?

When opening page with survey in Internet Explorer 11, code in file src\knockout\components\action-bar\action-bar.ts (and probably same in src\knockout\components\progress\buttons.ts) in method ko.components.register(...) at line const container: HTMLDivElement = componentInfo.element.nextElementSibling; returns undefined container because IE do not expose nextElementSibling on comment nodes. ResponsivityManager then crashes at line this.resizeObserver.observe(this.container.parentElement);

What is the expected behavior?

Make code return container to pass to ResponsivityManager class

How would you reproduce the current behavior (if this is a bug)?

Go open page in IE 11 https://surveyjs.io/Examples/Library (you also need to polyfill object.assign and ResizeObserver)

Provide the test code and the tested page URL (if applicable)

Tested page URL: https://surveyjs.io/Examples/Library

Test code

your_code_here

Specify your

  • browser: IE 11
  • browser version: 11.0.9600.17498 update version 11.0.15
  • surveyjs platform (angular or react or jquery or knockout or vue): jquery
  • surveyjs version: 1.8.56

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:8 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
tsv2013commented, Aug 3, 2021

@digital88 We’ll check it @dmitrykurmanov Could you clarity the state of the issue? It is marked as related to v1.8.59 just has been released.

0reactions
mkopinskycommented, Aug 26, 2021

I’m still getting a console error in IE 11 from this.

https://plnkr.co/edit/UGB9Rhq2Vp8mYwRF

image

Earlier I was getting a different stack trace from my app (rather than plunkr) which was showing action-bar.ts as part of the stack trace image

When I view the same survey in a modern browser (chrome 92) I can see that it’s rendering an sv-action-bar even though it’s empty. image

Normally I wouldn’t care about just a console error in IE 11. But my app is accessed through an unusually-configured embedded IE thing which throws these old school errors. And since each question has an sv-action-bar, the user has to click through this error once for each question in the survey image

Read more comments on GitHub >

github_iconTop Results From Across the Web

Script errors in Internet Explorer - Browsers - Microsoft Learn
A script error occurs in Internet Explorer, the webpage cannot be displayed correctly and you receive an error message.
Read more >
Webpack "production" mode is causing an exception in IE11
The error message means that Promise itself has been polyfilled but you passed it the wrong kind of content. It's hard to locate...
Read more >
Errors with => function in IE11 - Material Design for Bootstrap
One particular issue we are having is with the => function causing errors that are unrecoverable in IE11. There are 77 instances of...
Read more >
Lightning Report in IE 11 error "Unable to get property '_ ...
3) On "Choose Report Type", select "Accounts, click [Create] ... The error will display again with various actions, but the error does not ......
Read more >
Object expected in IE11 using SharePoint integration plug-in
We get this error when we open these quote documents in both IE11 and the CRM 2015/2013 client (Which opens the frame in...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found