fix(navBar): calc correct button width before enter