@onehat/ui 0.3.326 → 0.3.328

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onehat/ui",
3
- "version": "0.3.326",
3
+ "version": "0.3.328",
4
4
  "description": "Base UI for OneHat apps",
5
5
  "main": "src/index.js",
6
6
  "type": "module",
@@ -191,7 +191,10 @@ function AttachmentsElement(props) {
191
191
  },
192
192
  onDownload = (id, url) => {
193
193
  if (isPwa) {
194
- downloadWithFetch(url);
194
+ // This doesn't work because iOS doesn't allow you to open another window within a PWA.
195
+ // downloadWithFetch(url);
196
+
197
+ alert('Files cannot be downloaded and viewed within an iOS PWA. Please use the Safari browser instead.');
195
198
  } else {
196
199
  downloadInBackground(url);
197
200
  }
package/src/UiGlobals.js CHANGED
@@ -11,7 +11,7 @@ const Globals = {
11
11
  autoAdjustPageSizeToHeight: true,
12
12
  doubleClickingGridRowOpensEditorInViewMode: false,
13
13
  disableSavedColumnsConfig: false,
14
- autoSubmitDelay: 500,
14
+ autoSubmitDelay: 200,
15
15
  };
16
16
 
17
17
  export default Globals;