My case doesn't involve keyboard interaction but shares same roots, I think.
Regular collection view, flow layout, heavily relies on willDisplayCell, cellForIndexPath and didEndDisplaying methods for adding custom content to cells.
When collections' layout bounds changes, didEndDisplaying is called for some cells that are actually on-screen inside visible rect (missing accompanying calls to willDisplayCell & cellForIndexPath).
Topic:
UI Frameworks
SubTopic:
UIKit
Tags: