Skip to content

IE11 does not work #137

@RuslanKim

Description

@RuslanKim

Usage of app-localstorage-document.js

static get template()
    {
        return html`<app-localstorage-document key="user-auth-info" data="{{userInfo}}"></app-localstorage-document>`
    }

At least it should not be broken.... but page reloads in dead cycle for IE11.

If I would made such injection in the code of app-localstorage-document.js

attached: function() {
    **if (_browser.msie && _browser.version <= 11) { return }**
    this.listen(window, 'storage', '__onStorage');
    this.listen(
        window.top, 'app-local-storage-changed', '__onAppLocalStorageChanged');
  },

It looks like working and all other functionality on the page does work... ofcouse localStorage, in this case, does NOT work...
Is there a way to solve it somehow?

  1. Stage 1 - solve as workaround to be not broken the whole page.
  2. Stage 2 - solve to full functionality of localStorage for IE11 (it was declared in https://caniuse.com/#search=localstorage)

Browsers Affected

  • Chrome
  • Firefox
  • Safari 9
  • Safari 8
  • Safari 7
  • Edge
  • [X ] IE 11

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions