Skip to content

Commit fefc56d

Browse files
author
farfromrefug
committed
chore(ios): ensure view is removed
1 parent 9c6a16d commit fefc56d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ui-mapbox/index.ios.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1372,7 +1372,7 @@ export class Mapbox extends MapboxCommon implements MapboxApi {
13721372
CLog(CLogTypes.info, 'createCalloutView1():', marker.id, marker.title, !!this._reusableCalloutView);
13731373
}
13741374
this._reusableCalloutView.removeEventListener('tap');
1375-
1375+
(this._reusableCalloutView.nativeViewProtected as UIView)?.removeFromSuperview();
13761376
return this._reusableCalloutView;
13771377
}
13781378

0 commit comments

Comments
 (0)