Skip to content

[Bug]: PointAnnotation is always draggable on IOs #3899

@d3iner

Description

@d3iner

Mapbox Implementation

Mapbox

Mapbox Version

10.1.39

React Native Version

0.79.5

Platform

iOS

@rnmapbox/maps version

10.0.0-beta.11

Standalone component to reproduce

import React from 'react';
import {
  MapView,
  PointAnnotation,
  ShapeSource,
  LineLayer,
  Camera,
} from '@rnmapbox/maps';
import {Image} from 'react-native'
import MarkerImage from '@/assets/images/marker.png';


class BugReportExample extends React.Component {
  render() {
    return (
      <MapView style={{flex: 1}}>
        <PointAnnotation
                coordinate={[0, 0]}
                id={'id'}
            >
                <Image 
                    style={{width: 30, height: 30}}
                        source={MarkerImage}
                    />
            </PointAnnotation>
      </MapView>
    );
  }
}

Observed behavior and steps to reproduce

I can drag the PointAnnotation even if the props saids the oposite

Expected behavior

Must still fixed in the map no matter what gesture we make

Notes / preliminary analysis

No response

Additional links and references

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug 🪲Something isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions