Skip to content

Polyfill Demo not working in IE11 #224

@JSMike

Description

@JSMike

image

SCRIPT1002: Syntax error
dialog-polyfill (159,58)

SCRIPT5007: Unable to get property 'toString' of undefined or null reference
dialog-polyfill (117,3)

This is referring to issues in the html file for the demo site, not the library.

const button = createButton('Show', options.modal ? () => dialog.showModal() : () => dialog.show());

IE11 doesn't support arrow functions https://caniuse.com/?search=arrow%20function

errorNode.textContent = event.error.toString();

event.error is undefined

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions