- Add
standard
- Update dependencies
- Return a “clean up” function for removing the event listener on the input element
- Refactor implementation and tests
- Update all dependencies
- Stop setting
box-sizing: content-box
on the input element - Copy other width-affecting styles (eg.
letter-spacing
) to the “ghost” element
- Assign an
id
to the “ghost” element, and usedocument.getElementById
to detect if the element still exists in the DOM
- Account for case where the “ghost” element may have been removed from the DOM
- Share a single “ghost” element, as opposed to creating a new “ghost” element for every text box
- Return the
set
function
- Initial release