Skip to content

Problems when padding is set with em #7

@chaoaretasty

Description

@chaoaretasty

I've been looking at using this to replace a basic polyfill I use as I needed something that added an element rather than altering value.

When testing it it is mostly fine except in instances where I have defined paddings using em. I tracked it down to redrawPlaceholder which assumes that the incoming value is in px, resulting in the positioning being wildly off.

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