I think this is risky and could return early (while the keyboard is transitioning in). If there's a bug with the transition attributes, maybe that can be fixed in gaia?