Actions
Bug #14870
open
AR
ED
Javascript error on changing content of tabwidget
Bug #14870:
Javascript error on changing content of tabwidget
Start date:
10/08/2026
Due date:
% Done:
0%
Estimated time:
Description
Inside a tabwidget, we dynamically replace the content of a tab depending on the item selected in a treeview.
Since WT 4.12.2 a javascript error occurs when clicking that tab after its content has been replaced.
The browser console shows the following error:
Uncaught TypeError: Cannot read properties of null (reading 'style')
It seems that the initial container is not removed from the DOM when the tab content is cleared.
I've attached a minimal example to reproduce this issue. First click on "Replace content of tab1" and then on "Tab1".
Files
RM Updated by Romain Mardulyn about 1 month ago
- Target version set to 4.16.0
RM Updated by Romain Mardulyn about 1 month ago
- Status changed from New to InProgress
- Assignee set to Romain Mardulyn
RM Updated by Romain Mardulyn 12 days ago
- Status changed from InProgress to Review
- Assignee deleted (
Romain Mardulyn)
ED Updated by emil de keyser 3 days ago
- Assignee set to emil de keyser
Actions