Skip to content

Commit f8bb7d8

Browse files
authored
Merge pull request #2400 from AnnMarieW/disable_n_clicks-pages
added disable_n_clicks to page_container
2 parents 8fabef4 + 0ce85e3 commit f8bb7d8

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

Diff for: CHANGELOG.md

+7
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@
22
All notable changes to `dash` will be documented in this file.
33
This project adheres to [Semantic Versioning](https://semver.org/).
44

5+
6+
## Unreleased
7+
8+
## Fixed
9+
10+
- [#2400](https://github.com/plotly/dash/pull/2400) Added `disable_n_clicks=True` to the `html.Div` components in `page_container`.
11+
512
## [2.8.0] - 2023-01-24
613

714
### Added

Diff for: dash/dash.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -120,9 +120,9 @@
120120
page_container = html.Div(
121121
[
122122
dcc.Location(id=_ID_LOCATION),
123-
html.Div(id=_ID_CONTENT),
123+
html.Div(id=_ID_CONTENT, disable_n_clicks=True),
124124
dcc.Store(id=_ID_STORE),
125-
html.Div(id=_ID_DUMMY),
125+
html.Div(id=_ID_DUMMY, disable_n_clicks=True),
126126
]
127127
)
128128
except AttributeError:

0 commit comments

Comments
 (0)