I am using a gallery to capture line items. I would like the OnChange of the text fields to update a collection. The problem is when tabbing or clicking to the next field, the OnChange fires and the field loses focus. This doesn't make for a nice user experience because the user needs to click in the box a second time.

There is a way round this by using ForAll on Gallery.AllItems in my save button to patch the collection. Unfortunately Power Apps doesn't allow me to access the text input values if the text inputs are in layout containers within the gallery (which mine are). I could re-do my gallery without containers but this will be very time consuming and not very flexible if I want to make changes to layout, add new fields etc.
Wondering if anyone has encountered this and know of a solution.