Skip to content

getComputedStyle().width is not reliable on all browsers. #14

@wokung

Description

@wokung

Hi,
I just found out, that Internet Explorer (11) behaves different calculating the width of the input.

using

61: var width = window.getComputedStyle(ghostElement).width

there are different results between IE11 and Chrome for example.

Suggestion: use

var width = ghostElement.offsetWidth, then it works everywhere.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions