DataTables / DataTables/Dist-DataTables-Responsive-Bulma

[DataTablesBulma 2.2.1 and ResponsiveBulma 3.0.3] Uncaught TypeError: Cannot read properties of undefined (reading 'display')

Open
#1 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
CSS
Stars
0
Forks
1
PR merge metrics
No merged PRs in 30d

Description

Hello,
after the latest update of ‘DataTables Bulma’, the responsive extension not working.

"datatables.net-bm": "^2.2.1",
"datatables.net-responsive-bm": "^3.0.3",
import DataTable from 'datatables.net-bm';
import 'datatables.net-responsive-bm';

I have this error:
Uncaught TypeError: Cannot read properties of undefined (reading 'display')

Responsive.version = "3.0.3";
// node_modules/datatables.net-responsive-bm/js/responsive.bulma.mjs
/*! Bulma integration for DataTables' Responsive
 * © SpryMedia Ltd - datatables.net/license
 */
var _display = dataTables_bulma_default2.Responsive.display;

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the error with datatables.net-bm 2.2.1 and datatables.net-responsive-bm 3.0.3 using the imports shown. Inspect node_modules/datatables.net-responsive-bm/js/responsive.bulma.mjs and the referenced Responsive.display value to determine why it is undefined. Done means the Responsive extension loads without the reported TypeError.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.