Skip to content

Commit

Permalink
Merge pull request #3406 from ag-grid/AG-13844/axis_button_initial_cl…
Browse files Browse the repository at this point in the history
…ick_regression

AG-13844 Revert "CRT-561 Fix axis button to hide when tab out like crosshairs"
  • Loading branch information
alantreadway authored Jan 17, 2025
2 parents e91f3d1 + 0c40b8a commit 4eb4e68
Showing 1 changed file with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ export class AxisButton extends BaseModuleInstance implements _ModuleSupport.Mod
ctx.widgets.seriesWidget.addListener('drag-move', (e) => this.onMouseDrag(e)),
ctx.widgets.seriesWidget.addListener('mousemove', (e) => this.onMouseMove(e)),
ctx.widgets.seriesWidget.addListener('mouseleave', () => this.onMouseLeave()),
ctx.highlightManager.addListener('highlight-change', (event) => this.onHighlightChange(event)),
ctx.chartEventManager.addListener('series-focus-change', () => this.onKeyPress()),
ctx.zoomManager.addListener('zoom-pan-start', () => this.hide()),
ctx.zoomManager.addListener('zoom-change', () => this.hide()),
Expand Down Expand Up @@ -100,11 +99,6 @@ export class AxisButton extends BaseModuleInstance implements _ModuleSupport.Mod
this.toggleVisibility(false);
}

private onHighlightChange(event: _ModuleSupport.HighlightChangeEvent) {
if (event.currentHighlight) return;
this.hide();
}

private onKeyPress() {
if (this.snap && this.ctx.interactionManager.isState(InteractionState.Default)) return;
this.hide();
Expand Down

0 comments on commit 4eb4e68

Please sign in to comment.