sharepoint online – Power Automate Flow doesn’t fire when submitting from PowerApps

I have a PowerApps app that uses a SharePoint list as a data source. There is a Flow associated with that SharePoint list that is set to trigger when an item is added or updated. When I submit an item to the list from PowerApps, the item is created, but the Flow does not fire. If I create or edit the item directly in SharePoint, the Flow triggers and runs as expected. Is this a known bug, or do I have to design the flow differently?