Skip to content

4.1.0 Breaks popper.js in IE11: #26325

Description

@expyram

4.1.0 breaks tooltips and popovers in IE11:

https://jsbin.com/siqewopovu/edit?html,js,output

In my browser, the tooltips in that JSBin simply degrade to classic tooltips.

When debugging my project in VS 2017 (where I am actually using bootstrap.bundle.min.js), I stop on this error:

Unhandled exception in bootstrap.bundle.min.js:
JavaScript runtime error: Object.keys argument is not an Object

The root exception seems to occur deep in the call stack, in rollupPluginBabelHelpers, in the line var ownKeys = Object.keys(source); below:

function _objectSpread(target) {
  for (var i = 1; i < arguments.length; i++) {
    var source = arguments[i] != null ? arguments[i] : {};
    var ownKeys = Object.keys(source);

    if (typeof Object.getOwnPropertySymbols === 'function') {
      ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) {
        return Object.getOwnPropertyDescriptor(source, sym).enumerable;
      }));
    }

    ownKeys.forEach(function (key) {
      _defineProperty(target, key, source[key]);
    });
  }

  return target;
}

Simply reverting the script reference to BS v4.0.0 prevents the problem.

Activity

  1. wolfy1339 commented on Apr 17, 2018

    @wolfy1339
    Contributor

    I think that this is a know issue and was fixed recently

  2. expyram commented on Apr 17, 2018

    @expyram
    Author

    Sure enough; if I change the reference to v4-dev it works again. Thought I had tried that in my jsbin tests, but I must have missed it. Thanks.

    Fixed: #26291

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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