Skip to content
This repository was archived by the owner on May 29, 2019. It is now read-only.
This repository was archived by the owner on May 29, 2019. It is now read-only.

IE10 Accordion Collapse Fail #2002

Closed
Closed
@bensquire

Description

@bensquire

Hi All,

I've created an app which makes use of three nested accordions, in Chrome, FF, IE11, Safari; these work perfectly.

The problem is in IE10 where the transition that causes an accordions contents to display doesn't complete. Using various inspectors I've determined that an inline style for height is set to some arbitrary pixel value and the 'collapsing' class added to the element. But the height style is never increased and so the content of the accordion expands into an div thats too small, hidden from view.

As far as I can tell its this function which is responsible, but not completing:

    function expand() {
      if (initialAnimSkip) {
        initialAnimSkip = false;
        expandDone();
      } else {
        element.removeClass('collapse').addClass('collapsing');
        doTransition({ height: element[0].scrollHeight + 'px' }).then(expandDone);
      }
    }

Line 119 of ui-bootstrap.js (v0.10).

Any help would be appreciated as otherwise I'm going to have to roll a custom solution which negates the benefits of the library....

Thanks in advance :)

Ben

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions