If you're using Telegram, you may have seen, if you keep last visible item on X, when keyboard opens, you still see item X and if you close the keyboard, the item X is still on its position.
when keyboard is closed already:
when keyboard is opened:
when you close the keyboard, the first step is what you will see.
stackFromEnd property is exactly what I need.