Skip to content

Updating tooltip.followTouchMove does not work #17177

@pawelfus

Description

@pawelfus

Expected behaviour

Updating followTouchMove should change the bahaviour of tooltip.

Actual behaviour

Nothing happens

Live demo with steps to reproduce

Demo 1: Updating followTouchMove = true => false: (tooltip is displayed all the time)
Demo 2: Updating followTouchMove = false => true: (tooltip is not displayed)

Product version

N/A

Affected browser(s)

N/A

Workaround

JS/TS:

Highcharts.addEvent(Highcharts.Chart, 'afterUpdate', function() {
  if (this.pointer) {
    this.pointer.followTouchMove = Highcharts.pick(this.options.tooltip.followTouchMove, true);
  }
});

iOS/Android wrappers: https://jsfiddle.net/BlackLabel/qe8ymhc2/18/show (click on a point to change the behaviour)

Metadata

Metadata

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions