SIGN IN SIGN UP

Replace scroll-to-selection flag with one-shot postLayoutAction executed after layout

- Introduce postLayoutAction closure to run once after the next layout pass.
- Schedule scrollToVisible for the current selection from UITextInput and text
  change paths.
- Execute and clear the action in layoutSubviews.
- Removes needsScrollToSelection, simplifying and aligning with UITextView’s
  _scrollToSelectionIfNeeded behavior.
M
Marcin Krzyzanowski committed
ea13b053d41ad3c3b9370a9ba5d1f5a79da3e2c9
Parent: 1ed885f