DataTables / DataTables/Responsive

Bug: Automatically opens modal child when redrawing table with previously opened children

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

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
151
Forks
91
PR merge metrics
No merged PRs in 30d

Description

It's quite the complex setup, but in my application i have a custom child row and when i expand it and perform some action it triggers a table.draw(false) redraw of the table, after which the responsive plugin triggers _redrawChildren and shows the modal dialog which doesn't really make sense at that point. Especially when on Desktop where no responsive modal should have shown up to begin with

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 tracing the responsive plugin's _redrawChildren path and the table.draw(false) redraw described in the report. Reproduce the custom child-row scenario, including desktop behavior, and verify that a redraw does not reopen a responsive modal that should remain closed.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 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.