Skip to content

Commit 7ccc32a

Browse files
authored
Merge pull request #333 from Dessia-tech/chore/remove_pd_space
Chore/remove pd space
2 parents 1b0f9e3 + b8f3a73 commit 7ccc32a

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

CHANGELOG.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

88
## [0.17.3]
9-
109
### Fixes
11-
10+
- Remove space preventDefault
1211
- Multiplot : Remove coords from serialization to fix inital_view_on = False issue
1312

14-
1513
## [0.17.0]
1614
### Fixes
1715
- Handle empty elements in Scatter

src/subplots.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1881,14 +1881,12 @@ export class Figure extends PlotData {
18811881
if (!ctrlKey) { this.isSelecting = true; canvas.style.cursor = 'crosshair'; this.draw() };
18821882
}
18831883
if (e.key == " ") {
1884-
e.preventDefault();
18851884
spaceKey = true;
18861885
if (ctrlKey && this.isInCanvas(absoluteMouse)) this.resetView();
18871886
}
18881887
});
18891888

18901889
window.addEventListener('keyup', e => {
1891-
e.preventDefault();
18921890
if (e.key == "Control") ctrlKey = false;
18931891
if (e.key == " ") spaceKey = false;
18941892
if (e.key == "Shift") { shiftKey = false; this.isSelecting = false; this.is_drawing_rubber_band = false; canvas.style.cursor = 'default'; this.draw() };

0 commit comments

Comments
 (0)