maps icon indicating copy to clipboard operation
maps copied to clipboard

"isUserInteraction" always is "false"

Open Crysp opened this issue 2 years ago • 1 comments

Environment

  • Mapbox (GL) implementation: v10
  • Mapbox (GL) version: 10.7.0
  • @rnmapbox/maps Version #main
  • Platform: iOS
  • React Native Version 0.69.4
  • Platform OS: iOS 15
  • Device: iPhone X
  • Emulator/ Simulator: yes
  • Dev OS: OSX 12.5

Standalone component to reproduce

import React from 'react';
import {
  MapView,
  Camera,
} from '@rnmapbox/maps';

const coordinate = [30.319378097536216, 59.879647222152855];

const BugReport = () => {
  return (
    <MapView
      style={{ flex: 1 }}
      onRegionDidChange={region => {
        console.log(region.properties.isUserInteraction);
      }}
    >
      <Camera
        defaultSettings={{
          centerCoordinate: coordinate,
          zoomLevel: 16,
        }}
      />
    </MapView>
  );
};

Observed behavior and steps to reproduce

Move camera by any kind of gesture and property isUserInteraction is false.

Expected behavior

isUserIneraction should be true

Crysp avatar Aug 23 '22 15:08 Crysp

Should be fixed by #2225

VolkerLieber avatar Sep 19 '22 13:09 VolkerLieber