@@ -94,11 +94,11 @@ export class RegionFocusSwitcher extends Disposable {
94
94
this . _app . on ( 'clipboard_focus' , focusActiveSection ) ;
95
95
this . onDispose ( ( ) => this . _app . off ( 'clipboard_focus' , focusActiveSection ) ) ;
96
96
97
- if ( this . _gristDocObs ) {
97
+ /* if (this._gristDocObs) {
98
98
const onClick = this._onClick.bind(this);
99
99
pageContainer.addEventListener('mouseup', onClick);
100
100
this.onDispose(() => pageContainer.removeEventListener('mouseup', onClick));
101
- }
101
+ }*/
102
102
103
103
this . _initiated . set ( true ) ;
104
104
}
@@ -216,7 +216,7 @@ export class RegionFocusSwitcher extends Disposable {
216
216
* - if necessary, make it easier to tab through things inside panels by "unfocusing" the view section,
217
217
* - make sure the internal current region info is set when user clicks on the view layout.
218
218
*/
219
- private _onClick ( event : MouseEvent ) {
219
+ /* private _onClick(event: MouseEvent) {
220
220
const gristDoc = this._getGristDoc();
221
221
if (!gristDoc) {
222
222
return;
@@ -259,7 +259,7 @@ export class RegionFocusSwitcher extends Disposable {
259
259
if (!targetsMain && getPanelElement(targetRegionId as Panel) === event.target) {
260
260
focusPanel();
261
261
}
262
- }
262
+ }*/
263
263
264
264
private _onEscapeKeypress ( ) {
265
265
const { region : current , initiator} = this . _state . get ( ) ;
0 commit comments