iPad user agent was changed in ios 13, need to add an additional check to determine that it is a mobile device. Without this check, touch events were being duplicated, causing the menus to open and then close immediately
save did not work on iOS Safari. This is because they disallow JS from downloading files. I have to open a new tab with the datauri and have the user save the image from the new tab.