Skip to content

Commit 8c1e456

Browse files
authored
#1119 Make sure tab updates are rendered correctly (#1120)
* upgrade dash * update tabs children
1 parent 1c65c49 commit 8c1e456

File tree

3 files changed

+9
-12
lines changed

3 files changed

+9
-12
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ authors = [
1515
maintainers = [{ name = "Tom Begley", email = "tomcbegley@gmail.com" }]
1616
requires-python = ">=3.9"
1717
dependencies = [
18-
"dash>=3.0.0",
18+
"dash>=3.0.3",
1919
]
2020
classifiers = [
2121
"Framework :: Dash",

src/components/tabs/Tabs.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,10 @@ Tabs.dashPersistence = {
147147
persistence_type: 'local'
148148
};
149149

150+
// Make sure that updates to the Tabs children are properly rendered
151+
// See https://github.com/facultyai/dash-bootstrap-components/issues/1119
152+
Tabs.dashChildrenUpdate = true;
153+
150154
Tabs.propTypes = {
151155
/**
152156
* The children of this Tabs component. Each child should be a Tab component.

uv.lock

Lines changed: 4 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)