Skip to content

Fix for textareas that start off with no width #2

@pamelafox

Description

@pamelafox

My textarea starts off with no width (as its hidden), so I changed the width of the shadow div to be done inside the update function:
shadow.width($this.width());

It seems to perform alright, but I don't have any performance measurements or such.

Oh, and I made it work with Zepto with simply:
}(window.jQuery || window.Zepto));

Thanks for such a Zepto-compatible lib!

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