revolist / revogrid

Powerful virtual data grid smartsheet with advanced customization. Best features from excel plus incredible performance 🔋
https://revolist.github.io/revogrid
MIT License
2.68k stars 167 forks source link

Firefox - Clipboard has broken #438

Open eddie-englund opened 4 months ago

eddie-englund commented 4 months ago

Recently copying cells has broken in Firefox. I'm not certain if it's a revogrid issue or a Firefox issue but nontheless I've started this issue to see if I can get some attention from other users if they're seeing the same problem.

If you select multiple rows or even a single row and press cmd + C (on mac) or ctrl + c to copy you will see this error::

Uncaught (in promise) DOMException: Modifications are not allowed for this document
    Clipboard revogr-clipboard.entry.js:4
    c revogr-clipboard.entry.js:1
    u revogr-clipboard.entry.js:1
    __awaiter revogr-clipboard.entry.js:1
    __awaiter revogr-clipboard.entry.js:1
    doCopy revogr-clipboard.entry.js:4
    value index-6f753b3c.js:4
    promise callback*value index-6f753b3c.js:4
    onCopy revo-grid_11.entry.js:4
    onCopyRegion revo-grid_11.entry.js:4
    emitEvent index-6f753b3c.js:4
    emit index-6f753b3c.js:4
    copyStarted revogr-clipboard.entry.js:4
    hostListenerProxy index-6f753b3c.js:4
    ael index-6f753b3c.js:4
    addHostEventListeners index-6f753b3c.js:4
    addHostEventListeners index-6f753b3c.js:4
    registerHost index-6f753b3c.js:4
    t3 index-6f753b3c.js:4
    createElm index-6f753b3c.js:4
    addVnodes index-6f753b3c.js:4
    updateChildren index-6f753b3c.js:4
    patch index-6f753b3c.js:4
    renderVdom index-6f753b3c.js:4
    callRender index-6f753b3c.js:4
    updateComponent index-6f753b3c.js:4
    l index-6f753b3c.js:1
    i index-6f753b3c.js:1
    __awaiter index-6f753b3c.js:1
    __awaiter index-6f753b3c.js:1
    updateComponent index-6f753b3c.js:4
    dispatchHooks index-6f753b3c.js:4
    then index-6f753b3c.js:4
    dispatchHooks index-6f753b3c.js:4
    r index-6f753b3c.js:4
    consume index-6f753b3c.js:4
    flush index-6f753b3c.js:4
    raf index-6f753b3c.js:4
    queueTask index-6f753b3c.js:4
    scheduleUpdate index-6f753b3c.js:4
    forceUpdate index-6f753b3c.js:4
    stencilSubscription revo-grid_11.entry.js:4
    s revo-grid_11.entry.js:4
    s revo-grid_11.entry.js:4
    setStore revo-grid_11.entry.js:4
    setFocus revo-grid_11.entry.js:4
    focus revo-grid_11.entry.js:4
    onFocusCell revo-grid_11.entry.js:4
    emitEvent index-6f753b3c.js:4
    emit index-6f753b3c.js:4
    focus revo-grid_11.entry.js:4
    focus revo-grid_11.entry.js:4
    onElementMouseDown revo-grid_11.entry.js:4
    onMouseDown revo-grid_11.entry.js:4
    ael index-6f753b3c.js:4
    setAccessor index-6f753b3c.js:4
    updateElement index-6f753b3c.js:4
    patch index-6f753b3c.js:4
    renderVdom index-6f753b3c.js:4
    callRender index-6f753b3c.js:4
    updateComponent index-6f753b3c.js:4
    l index-6f753b3c.js:1
    i index-6f753b3c.js:1
    __awaiter index-6f753b3c.js:1
    __awaiter index-6f753b3c.js:1

image

Reproducible issue here: https://codesandbox.io/p/sandbox/revo-infinity-list-select-all-forked-mhwz9j?file=%2Fsrc%2FApp.vue%3A15%2C1

eddie-englund commented 4 months ago

This might relate to https://github.com/revolist/revogrid/issues/399 but I'm not certain.