I've come across a possible corner case where the On Change property for Input controls does not function correctly when embedded in a Gallery in a specific scenario.
Overview of Gallery setup:
- Gallery with each row containing multiple Text Input controls.
- OnChange property of each input control set to update a value in a Collection (separate to the Items source for that Gallery) via a Patch function.
- When tabbing from one input to the next within the same row of the gallery, the OnChange function fires correctly.
Steps to replicate the issue:
- Select an Input control in the Gallery,
- Enter a value,
- With that input still selected (caret flashing), scroll down until that input is hidden
- Select an input on another row now visible.
- The OnChange property for the originally selected Input control does not fire, despite the entered value remaining visible when scrolling back up to that row.
Does anyone know of a workaround for this specific issue? If a user is quickly scrolling through and updating the gallery, it is not obvious if the input has not updated the backing collection.