fix(input): dismiss only on last view
fix(input): dismiss only on last view