input width will be reset by updating placeholder. fixes #322