Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Vertical modebars break plots on IE11 #3489

Copy link
Copy link
Closed
@wbrgss

Description

@wbrgss
Issue body actions

On IE11, setting the layout parameter modebar: {'orientation': 'v'} will break plots on IE11, with the following error:

Unhandled promise rejection TypeError: Object doesn't support property or method 'prepend'

This is likely related to this line in #3068 using element.prepend(). The bug can likely be easily fixed by using this polyfill suggested by MDN.

"Plunker" pen demonstrating the issue (graph does not display on IE11):
https://plnkr.co/edit/mnQV4RWKhAQOLUX225IL?p=preview

image 5

I had to use Plunker as CodePen et al is not compatible with IE11.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugsomething brokensomething broken

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.