Jira Cloud and @atlaskit/dynamic-table ranking

Hello. When I’m trying to drag-and-drop the first row in Atlaskit Dynamic Table, something just canceling drag event in Jira Cloud instance. In console I have warning:

WARN: ‘triggerPrivacyPolicySafeEvent’ has been deprecated

For some reason it’s happening just with the first row, other rows have no such issue(and no warning message). When I’m testing this component outside of Jira Cloud instance, it works nice without any issue.

The component is really small and basic:

import React from 'react'
import ReactDOM from 'react-dom'
import DynamicTable from '@atlaskit/dynamic-table'

ReactDOM.render(
  <DynamicTable
    head={{
      cells: [
        {
          key: 'fieldTitle',
          content: 'Field Title',
          width: 150
        }
      ]
    }}
    rows={[{
      key: '1',
      cells: [
        {
          key: '1-1',
          content: 1
        }
      ]
    },
      {
        key: '2',
        cells: [
          {
            key: '2-1',
            content: 2
          }
        ]
      },
      {
        key: '3',
        cells: [
          {
            key: '3-1',
            content: 3
          }
        ]
      }
    ]}
    isRankable />,
  document.getElementById('init')
)

Unfortunately I cannot find something, that could help. Appreciate any suggestions and ideas.

1 Like

Hi @piskunovigorm, did you ever find an answer to this? I can’t drag and drop any of my rows

Thanks
Paul

Hi @paul
I’ve created my own table component based on react-beautiful-dnd, <table> tag and aui styles. It gives full control of the situation. I can share it if you need it.

Kindest regards,
Igor

Hi @piskunovigorm, thanks that would be good. You can direct message me if you like
Thanks
Paul