@syncfusion/ej2-inputs 28.1.33 → 28.1.37

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.
@@ -8955,7 +8955,7 @@ let Uploader = class Uploader extends Component {
8955
8955
  }
8956
8956
  for (let file = 0; file < item.length; file++) {
8957
8957
  const pasteFile = [].slice.call(item)[file];
8958
- if ((pasteFile.kind === 'file') || pasteFile.type.match('^image/')) {
8958
+ if (!isNullOrUndefined(pasteFile.getAsFile()) && ((pasteFile.kind === 'file') || pasteFile.type.match('^image/'))) {
8959
8959
  this.renderSelectedFiles(event, [pasteFile.getAsFile()], false, true);
8960
8960
  }
8961
8961
  }
@@ -15600,6 +15600,7 @@ class SignatureBase extends Component {
15600
15600
  this.canvasContext.canvas.width = this.element.offsetWidth;
15601
15601
  this.canvasContext.canvas.height = this.element.offsetHeight;
15602
15602
  this.canvasContext.scale(1, 1);
15603
+ this.canvasContext.fillStyle = this.strokeColor;
15603
15604
  const pointSize = (this.minStrokeWidth + this.maxStrokeWidth) / 2;
15604
15605
  for (let i = 0; i < this.signRatioPointsColl.length; i++) {
15605
15606
  this.arcDraw((this.signRatioPointsColl[i].x * this.canvasContext.canvas.width), (this.signRatioPointsColl[i].y * this.canvasContext.canvas.height), pointSize);