Igniteui-angular: Copy to clipboard of selected text causes error in IE11

Created on 17 Sep 2020  路  3Comments  路  Source: IgniteUI/igniteui-angular

Description

  • igniteui-angular version: 9.0 and newer
  • browser: IE11(error) all browsers(behavior)

Steps to reproduce

  1. Open page https://www.infragistics.com/products/ignite-ui-angular in IE11
  2. Open Developer Tools
  3. Select any text in a cell in the grid
  4. Press Ctrl+C

Result

It generates error: ERROR TypeError: Unable to get property 'setData' of undefined or null reference
In the clipboard is the whole content of the cell and header.

Expected result

No error should occure and only the selected text should be in the clipboard.

Attachments

IgxGridIE11CopyClipboardError

IE-11 bug general resolved 10.1.x 10.2.x 9.1.0

Most helpful comment

@Aleksandyr,
I think that since the problem is related to the browser-specific settings that we have no control over we can consider the described problem as a third-party issue.

All 3 comments

@ddincheva Another error is coming when you just click over a cell and start spamming with ctrl+C
image

@ddincheva It seems that this suggestion fixes the issue.
Does it count as a third party issue then?

@Aleksandyr,
I think that since the problem is related to the browser-specific settings that we have no control over we can consider the described problem as a third-party issue.

Was this page helpful?
0 / 5 - 0 ratings