@@ -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 ( ) ;
@@ -558,7 +558,7 @@ const getPanelElementId = (id: Panel): string => {
558
558
return `[${ ATTRS . regionId } ="${ id } "]` ;
559
559
} ;
560
560
561
- const isFocusableElement = ( el : EventTarget | null ) : boolean => {
561
+ /* const isFocusableElement = (el: EventTarget | null): boolean => {
562
562
if (!el) {
563
563
return false;
564
564
}
@@ -569,7 +569,7 @@ const isFocusableElement = (el: EventTarget | null): boolean => {
569
569
return true;
570
570
}
571
571
return false;
572
- } ;
572
+ };*/
573
573
574
574
/**
575
575
* Remove the visual highlight on elements that are styled as focused elements of panels.
0 commit comments