Skip to content

Conversation

@PVince81
Copy link
Member

In the listed order, every time I added a new exclude, a new one popped up. So I added them one by one.
Now in this PR we've reached a state where the Talk page loads in IE 11 but is missing some controls, likely due to the many JS errors happening in nextcloud-vue components (but no more syntax errors).

ie11-many-excludes

@PVince81
Copy link
Member Author

the last error seems to say that VPopover expects a string instead of a number, and we do pass in a number. We pass it indirectly to Popover which then copies it over to VPopover. Not sure why the property requirements would be different/buggy with IE 11...

@PVince81
Copy link
Member Author

in components/Popover.vue of the lib it does accept a number:

    delay: {
      type: [String, Number, Object],
      default: () => getDefault('defaultDelay'),
    },

@nickvergessen
Copy link
Member

Conflicting files
package-lock.json

@nickvergessen
Copy link
Member

Allows chatting in IE11 again

@PVince81
Copy link
Member Author

let me solve the conflict.

indeed the chat works for me, despite the million of errors in the console about data type validation in Vue properties...

Added a bunch of extra deps to the transpilation list to make the app
work with IE 11.

Signed-off-by: Vincent Petry <[email protected]>
Update @babel/preset-env to 7.12.11 has revealed an issue with the event
bus library related to the CommonJS format.

The webpack config was adjusted to properly load CommonJS libraries.

Signed-off-by: Vincent Petry <[email protected]>
@PVince81 PVince81 force-pushed the bugfix/4820/fix-ie11-modules branch from 58ac25f to 5673db9 Compare January 15, 2021 12:33
Copy link
Member

@nickvergessen nickvergessen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixes IE11 loading again

@nickvergessen
Copy link
Member

Merge?

@PVince81 PVince81 marked this pull request as ready for review January 15, 2021 12:48
@nickvergessen nickvergessen merged commit a853759 into master Jan 15, 2021
@nickvergessen nickvergessen deleted the bugfix/4820/fix-ie11-modules branch January 15, 2021 12:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants