Skip to content

Mask directive doesn't handle drag & drop  #6710

@damyanpetev

Description

@damyanpetev

Description

When you drag and drop text over a mask editor the text is allowed to exceed the limits of the mask and is not parsed as a value.

  • igniteui-angular version: 9
  • browser: N/A

Steps to reproduce

  1. Open https://www.infragistics.com/products/ignite-ui-angular/angular/components/mask.html#mask-demo
  2. Select the text from the first input
  3. Drag and drop it to the mask editor below

Result

The text is allowed go outside of the mask limits and you can 'delete' parts of the mask and literals:
mask-drag-drop

Expected result

The dropped text should be treated as paste and applied over the mask. Ideally, when dragging, the mask should appear with the browser cursor to allow to determine the drop location.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions