If we call a flyTo and the user has the prefersReducedMotion option activated in his browser, a jumpTo is called instead.
In the flyTo code, the options for the jumpTo are created by a pick from the flyTo options but nothing is done for the padding, so a padding option is lost in this case of this browser configuration.
Concerned line :
|
const coercedOptions = pick(options, ['center', 'zoom', 'bearing', 'pitch', 'roll', 'elevation']) as CameraOptions; |