Having some issues with the paste functionality for Paramquery Pro in version 4.0.1
Copy consistently works and attempting to paste the value into a non Paramquery table always works (ie. a document) - pasting however works sporadically in a grid. This issue occurs when you are using the keyboard paste shortcut (Command + V on macOs).
Running macOS High Sierra (10.13.2) on a MacBook Pro (Retina, 15-inch, Mid 2015):
- in Google Chrome (Version 63.0.3239.132) paste sometimes takes 20+ tries before working
- in Safari (Version 11.0.2) paste works consistently after the second attempt
This is also replicable in the copy/paste demo on the paramquery website for both the 4.x and 5.x demos:
-
https://paramquery.com/pro/demos40/copy_paste-
https://paramquery.com/pro/demos/copy_pasteChanging the timeout value from 0 to any value greater than 2 in the code below (pqgrid.dev.js line 9156)
}, 0);
to:
}, 3);
seems to fix the issue.
Note: The demos listed above work fine in ubuntu