WIP. resize when only switching edit mode.
auto fit when input text to sharememo.